User:Mbear/RevancheDPLTest

< User:Mbear
Revision as of 08:40, 24 June 2021 by Mbear (talk | contribs) (Initial load of page content.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 (|).


Current[edit]

<div style="-moz-column-count:3; column-count:3;">
<DPL>category=Policies
mode=ordered
</DPL>
</div>

Gives us what we've seen already:

Policies[edit]

Proposed[edit]

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[edit]

  1. Help:About help pages
  2. Policy:Article Naming
  3. Category:BattleTechWiki accessibility
  4. Policy:BattleTech Essays
  5. Policy:Canon
  6. Help:Categories
  7. Help:Cheatsheet/Draft
  8. Policy:Citation needed
  9. Help:Cite errors
  10. Draft:Civility
  11. Help:Cleanup
  12. Help:Collapsing
  13. Help:Color
  14. Help:Color/Accessibility
  15. Help:Columns
  16. Help:Commonly used templates
  17. Help:Conditional expressions
  18. Category:Conduct policies
  19. Policy:Consensus
  20. Help:Contents
  21. Policy:Copyrights
  22. Help:Create a New Article
  23. Help:Deletion
  24. Help:Disambiguation
  25. Draft:Edit Summary
  26. Policy:Editing
  27. Help:Editing
  28. Policy:Fanon
  29. Policy:General disclaimer
  30. Help:Getting Started
  31. Category:Help templates
  32. Category:How-to
  33. Help:Images
  34. Policy:Images
  35. Policy:Libel
  36. Help:Line break handling
  37. Help:List
  38. Help:Maintenance template removal
  39. Help:Managing files
  40. Help:MediaWiki namespace
  41. Help:Metatemplating
  42. Policy:Moratorium
  43. Policy:Neutral point of view
  44. Policy:No legal threats
  45. Policy:No personal attacks
  46. Policy:Notability
  47. Help:Parameter
  48. Policy:Privacy
  49. Policy:Real People
  50. Help:Redirect
  51. BattleTechWiki:Research Desk
  52. Help:Shortcut
  53. Help:Sic
  54. Help:Special pages
  55. Help:Substitution
  56. Help:Table
  57. Help:Table of contents
  58. Help:Template gallery
  59. Category:Template help
  60. BattleTechWiki:Template index/Authoritative templates
  61. BattleTechWiki:Template index/BattleTechWiki namespace
  62. Help:Transclusion
  63. Category:Uncompleted Policies
  64. Help:User Sub-Page Creation
  65. Category:User space
  66. Policy:Vandalism
  67. Policy:Verifiability
  68. Help:Verify
  69. Help:WebArchive Notes
  70. Help:Wiki markup
  71. Help:Wikilinks


Notes[edit]

  • 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.