MediaWiki/Subpages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 24: | Line 24: | ||
* |stripprefix= If set to yes or 1, removes prefixes from output. | * |stripprefix= If set to yes or 1, removes prefixes from output. | ||
</pre> | </pre> | ||
== 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: | |||
<pre> | |||
/** | |||
* Maximum number of pages to show on single subpage. | |||
*/ | |||
protected $maxPerPage = 345; | |||
</pre> | |||
Change that number to whatever you want to be the limit. | |||
ref: https://stackoverflow.com/questions/13826565/mediawiki-number-of-pages-on-specialallpages |
Revision as of 22:27, 27 February 2024
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