User:Revanche/DPLLesson
< User:Revanche
Revision as of 08:48, 24 June 2021 by Revanche (talk | contribs) (Created page with "''This is just my quick and dirty takeaway from a brief dive into the DynamicPageLoader extension's docs. It...")
This is just my quick and dirty takeaway from a brief dive into [the DynamicPageLoader extension's docs]. It almost seems like it's covering the same need as SemanticMediaWiki (SMW), but with a more limited scope. The <DPL> tag is pointing to the "Policies" category and displaying it on the page, Similar to the SMW query we're using on the Updates Needed page. We can add additional categories to the category parameter of the tag by separating the category names with a pipe character (|).--mbear
Contents
Current
<div style="-moz-column-count:3; column-count:3;"> <DPL>category=Policies mode=ordered </DPL> </div>
Gives us what we've seen already:
Policies
- Policy:Article Naming
- Policy:BattleTech Essays
- Policy:Canon
- Policy:Citation needed
- Draft:Civility
- Policy:Consensus
- Policy:Copyrights
- Policy:Editing
- Policy:Fanon
- Policy:General disclaimer
- Policy:Images
- Policy:Libel
- Policy:Moratorium
- Policy:Neutral point of view
- Policy:No legal threats
- Policy:No personal attacks
- Policy:Notability
- Policy:Privacy
- Policy:Real People
- Help:Template gallery
- BattleTechWiki:Template index/Authoritative templates
- BattleTechWiki:Template index/BattleTechWiki namespace
- Category:Uncompleted Policies
- Policy:Vandalism
- Policy:Verifiability
Proposed
By adding the Help category to the list of categories searched
<div style="-moz-column-count:3; column-count:3;"> <DPL>category=Policies|Help mode=ordered </DPL> </div>
Results in:
Policies
- Help:About help pages
- Policy:Article Naming
- Category:BattleTechWiki accessibility
- Policy:BattleTech Essays
- Policy:Canon
- Help:Categories
- Help:Cheatsheet/Draft
- Policy:Citation needed
- Help:Cite errors
- Draft:Civility
- Help:Cleanup
- Help:Collapsing
- Help:Color
- Help:Color/Accessibility
- Help:Columns
- Help:Commonly used templates
- Help:Conditional expressions
- Policy:Consensus
- Help:Contents
- Policy:Copyrights
- Help:Create a New Article
- Help:Deletion
- Help:Disambiguation
- Draft:Edit Summary
- Help:Editing
- Policy:Editing
- Policy:Fanon
- Policy:General disclaimer
- Help:Getting Started
- Category:Help templates
- Category:How-to
- Policy:Images
- Help:Images
- Policy:Libel
- Help:Line break handling
- Help:List
- Help:Maintenance template removal
- Help:Managing files
- Help:MediaWiki namespace
- Help:Metatemplating
- Policy:Moratorium
- Policy:Neutral point of view
- Policy:No legal threats
- Policy:No personal attacks
- Policy:Notability
- Help:Parameter
- Policy:Privacy
- Policy:Real People
- Help:Redirect
- BattleTechWiki:Research Desk
- Help:Shortcut
- Help:Sic
- Help:Special pages
- Help:Substitution
- Help:Table
- Help:Table of contents
- Help:Template gallery
- Category:Template help
- BattleTechWiki:Template index/Authoritative templates
- BattleTechWiki:Template index/BattleTechWiki namespace
- Help:Transclusion
- Category:Uncompleted Policies
- Help:User Sub-Page Creation
- Category:User space
- Policy:Vandalism
- Policy:Verifiability
- Help:Verify
- Help:WebArchive Notes
- Help:Wiki markup
- Help:Wikilinks
Notes
- We can apparently use a parser function version (i.e. {{#dpl: .... }}) instead of the tag version, which might be useful for consistency. (We're using those in infoboxes, SMW queries, etc.)
- The category name is apparently ignored for sorting purposes. Note how the Proposed output is organized alphabetically by page name.
User:Revanche so he can find it in the future since this is an orphan page otherwise.