Community Central
Community Central
Forums: Index Help desk Question: Compiling all articles in a category
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 5855 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.

I have a category with a lot of articles containing some data. I would like to create a page that takes the text in all those articles and put them in one big article. Preferably in an automated way. I want to do this so that users can use the browser's search function to search for text in those articles, essentially giving them a way to browse through articles to find specific data.

For example, if I had a category with the following articles:

Article A
  Data 1
  Data 2
Article B
  Data 3
  Data 4

I want to make this:

Compiled Article

  Article A
    Data 1
    Data 2

  Article B
    Data 3
    Data 4

Is there way to do this easily and automatically? Daarklord 23:11, 6 April 2008 (UTC)

Yes. Use the Dynamic Page List extension (and the Manual) which has been installed on the server. In order to do this you will need to read and understand the Include parameter to the DPL functionality.
The short answer is you will need to go into Article A and Article B and mark the Data you want included, either by including it in a template, or by marking it with a <section begin=<name> /> and <section end=<name> /> as described in the Extension:Labeled Section Transclusion documentation.
If you would like to see an example, I'll point you at the Traveller Wiki Race Summary. Most of this page is entirely generated using the DPL, and should give you a staring point.
If you have questions, drop a note on the forum on the Traveller wiki, or on my talk page over there. Tjoneslo 18:26, 7 April 2008 (UTC)
I tried making a page with <DPL> tags but the wiki doesn't recognize them. Should I download the source and add to to my wiki? But you said the DPL extension has been installed on the server already so I didn't think I would need to. Daarklord 02:21, 8 April 2008 (UTC)
DPL is installed but not enabled on default. Flipped the switch for your wiki, have fun with DPL. -- Nef (talk) 02:47, 8 April 2008 (UTC)