DPL

From Support Wiki
Jump to navigation Jump to search
DynamicPageList
Author(s) N/A
Description
A highly flexible report generator for MediaWikis
Default?
NoN

DynamicPageList (DPL) is an extension which serves as a reporting tool for MediaWiki, listing category members and intersections with various formats and details.

Summary

DPL is a great way to categorize content ranging from different type of data entries.

Categories

To do this effectively make use of DPL you'll need to set up a detailed category tree. You can apply __HIDDENCAT__ (a magic word) to any category featured in the DPL table to hide categories that you don't want the general public to see. If these categories aren't hidden, these categories will be applied to any DPL article and making your category footer flooded with categories for the reader/editor to see.

Example of category tree:

  • GameName
    • Items
    • Weapons
      • Swords
        • Single-hand Swords (apply HIDDENCAT then apply Swords category)
        • Two-hand Swords (apply HIDDENCAT then apply Swords category)
        • Dual-Wield Swords (apply HIDDENCAT then apply Swords category)
      • Submachine Guns
        • Attachments for x (apply HIDDENCAT then apply Submachine Guns category)

By applying base category like 'Swords' to the hidden category, this allows the reader/editor to find content within this category without having to go to Category:Hidden_categories to find it.

Manual

See:

Cache

Cache for DPL won't refresh itself automatically due to that fact that will put stress on server-load. To refresh it, use Help:Purge to refresh the cache. It's best to install or have your community admin install the Purge gadget (if not already installed) so that it's easier to purge the table.

Questions

Should DPL be used for Navboxes?

Short answer, no. For example when a DPL statement is used in a navbox and you place said navbox in an article, if user clicks on that article name that article name will then be invisible/disappear if the user looks at the navbox at the bottom of the page.

Example wikis