This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20155 - Automatic subpage list generation.
Summary: Automatic subpage list generation.
Status: RESOLVED INVALID
Alias: None
Product: webplatform.org
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Doug Schepers
QA Contact: public-webplatform-bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 13:04 UTC by Jonathan Garbee
Modified: 2012-11-29 18:13 UTC (History)
1 user (show)

See Also:


Attachments

Description Jonathan Garbee 2012-11-29 13:04:14 UTC
If it isn't possible by default in MediaWiki (which I can't find a way to do) then we should install a module for listing the subpages to a parent page.

This would be useful in situations like the WPD:Editors_Guide where we will have a URL that is just a placeholder for other content to be a child of for logical URLs.  But, if someone uses breadcrumbs to go back to the parent page they will just have an empty page.  It would be nice to have those pages list out the children URL's for easy navigation between those pages without having to manually upkeep the placeholder page.

Here are two seemingly nice options to achieve this:
http://www.mediawiki.org/wiki/Extension:SubPageList
http://www.mediawiki.org/wiki/Extension:SubPageFunctions
Comment 1 David Kirstein (Frozenice) 2012-11-29 17:46:26 UTC
Extension:SubPageList is already installed, I haven't seen it being used, though.

What gets used in some Templates is: {{Special:PrefixIndex/{{PAGENAME}}/}}|}}
but IIRC that's a performance hog and bad for caching.
Comment 2 Jonathan Garbee 2012-11-29 18:01:33 UTC
Well what is used in templates is irrelevant.  The WPD namespace which is what I am targeting with this does not use them.

If it is already installed then I will give that a go real quick and see if it works.
Comment 3 Jonathan Garbee 2012-11-29 18:13:14 UTC
Ok, that works perfect for our needs.  I didn't bother to check if something was already installed, probably should have.  Thanks for pointing that out.