Changes

Jump to navigation Jump to search
1,566 bytes added ,  23:31, 21 February 2009
Automatically listing subpages
== Automatically listing subpages ==

This wiki is heavily subpage-oriented.
It's a waste of effort to manually maintain a list of links to subpages, e.g. on the [[BugSquad/Meetings/Minutes]] page.
Instead, you could use the [[mediawiki:Extension:SubPageList3]] extension to generate lists of subpages. I think
<nowiki><splist
kidsonly=yes
showpath=full
/>
would make that page dynamically list
* BugSquad/Meetings/Minutes/2009-02-12
* BugSquad/Meetings/Minutes/2008-12-17
* BugSquad/Meetings/Minutes/2008-12-10

Disclaimer: I've not used this extension, but it sounds great :)
So maybe SubPageList3 should be installed.

An alternative that doesn't require an extension is discussed on [[mediawiki:Talk:Extension:SubPageList3|SubPageList3''s talk page]]: use the [[Special:Prefindex]] feature by transcluding
'''<nowiki>{{Special:Prefixindex/{{FULLPAGENAME}}/}}</nowiki>'''.
Let's try it for [[BugSquad/Meetings/Minutes]]:
{{Special:Prefixindex/BugSquad/Meetings/Minutes/}}

Seems to work, though as a result this page is now mis-categorized in those pages' categories.
-- [[User:Skierpage|Skierpage]] 04:31, 22 February 2009 (UTC)

=== Semantic MediaWiki doesn't (yet) do subpages ===

By the way, Semantic MediaWiki cannot run a query "show me all subpages of BugSquad/Meetings/Minutes", you'd have to put
[[Category:BugSquad]][[Category:Meeting minutes]]
in each and query for those. You should probably categorize subpages anyway, as [[WikiTeam/WikiGuide/PageCreation]] recommends. -- [[User:Skierpage|Skierpage]] 04:31, 22 February 2009 (UTC)

Navigation menu