MediaWiki/Subpages

From Omnia
Jump to navigation Jump to search

See MediaWiki/Customization#Subpages

Subpages Table of Contents

== Subpage Table of Contents ==

{{Special:PrefixIndex/{{PAGENAME}}/}}

or

{{Special:PrefixIndex/Geocaching/}}


See https://en.wikipedia.org/wiki/Wikipedia:Special:PrefixIndex

Usage:
 {{Special:PrefixIndex/page/}}
Parameters
* |hideredirects= If set to yes or 1, output will exclude redirects.
* |stripprefix= If set to yes or 1, removes prefixes from output.

Max Per Page

Note, there is a hard coded limite of 345 results per page. This can be changed:

In includes/specials/SpecialAllPages.php, you'll see the following code at the top of the file:

/**
 * Maximum number of pages to show on single subpage.
 */
protected $maxPerPage = 345;

Change that number to whatever you want to be the limit.

ref: https://stackoverflow.com/questions/13826565/mediawiki-number-of-pages-on-specialallpages