FANDOM


m
Line 45: Line 45:
   
 
::::oh... well... that's the thing we need. I was just working on a feature and realised it cannot be done without DPL, and that's critical thing for us, at least when we'll grow up a little. Please turn it on for ru.dreams, or we are doomed )) --[[User:Darhark|Darhark]] 10:58, 10 April 2008 (UTC)
 
::::oh... well... that's the thing we need. I was just working on a feature and realised it cannot be done without DPL, and that's critical thing for us, at least when we'll grow up a little. Please turn it on for ru.dreams, or we are doomed )) --[[User:Darhark|Darhark]] 10:58, 10 April 2008 (UTC)
  +
  +
::::: Done. -- [[User:Ppiotr|Nef]] <staff /> ([[User talk:Ppiotr|talk]]) 17:04, 10 April 2008 (UTC)

Revision as of 17:04, April 10, 2008

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.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 4549 days. It is considered archived - the discussion is over. 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 by default. Flipped the switch for your wiki, have fun with DPL. -- Nef @fandom (talk) 02:47, 8 April 2008 (UTC)
oh... well... that's the thing we need. I was just working on a feature and realised it cannot be done without DPL, and that's critical thing for us, at least when we'll grow up a little. Please turn it on for ru.dreams, or we are doomed )) --Darhark 10:58, 10 April 2008 (UTC)
Done. -- Nef @fandom (talk) 17:04, 10 April 2008 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.