Talk:Wiki Team/TODO: Difference between revisions

Automatically listing subpages
 
m moved Talk:Walter is a wanker 15/TODO to Talk:Wiki Team/TODO over redirect: revert
 
(5 intermediate revisions by 4 users not shown)
Line 3: Line 3:
This wiki is heavily subpage-oriented.
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.
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  
Instead, you could use the [http://www.mediawiki.org/wiki/Extension:SubPageList3 SubPageList3 extension] to generate lists of subpages.  I think  
   <nowiki><splist  
   <nowiki><splist  
     kidsonly=yes
     kidsonly=yes
     showpath=full
     showpath=full
   />
   /></nowiki>
would make that page dynamically list
would make that page dynamically list
* BugSquad/Meetings/Minutes/2009-02-12
* [[BugSquad/Meetings/Minutes/2009-02-12]]
* BugSquad/Meetings/Minutes/2008-12-17
* [[BugSquad/Meetings/Minutes/2008-12-17]]
* BugSquad/Meetings/Minutes/2008-12-10
* [[BugSquad/Meetings/Minutes/2008-12-10]]


Disclaimer: I've not used this extension, but it sounds great :)
Disclaimer: I've not used this extension, but it sounds great :)
So maybe SubPageList3 should be installed.
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
An alternative that doesn't require an extension is discussed on [http://www.mediawiki.org/wiki/Extension_talk:SubPageList3 SubPageList3's talk page]: use the [[Special:Prefixindex]] feature by transcluding
'''<nowiki>{{Special:Prefixindex/{{FULLPAGENAME}}/}}</nowiki>'''.
  <nowiki>{{Special:Prefixindex/{{FULLPAGENAME}}/}}</nowiki>
Let's try it for [[BugSquad/Meetings/Minutes]]:
Let's try it for [[BugSquad/Meetings/Minutes]]:
{{Special:Prefixindex/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.
This 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)
-- [[User:Skierpage|Skierpage]] 04:31, 22 February 2009 (UTC)


Line 28: Line 28:
By the way, Semantic MediaWiki cannot run a query "show me all subpages of BugSquad/Meetings/Minutes", you'd have to put
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]]
   [[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)
in each and query for those.  You should probably categorize subpages anyway, as [[Wiki Team/Guide/Page Creation]] recommends. -- [[User:Skierpage|Skierpage]] 04:31, 22 February 2009 (UTC)
Return to "Wiki Team/TODO" page.