Extension:ExcludeSubpages

MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
ExcludeSubpages
Release status: unmaintained
Description Add checkbox to Special:Allpages that, when checked, excludes subpages from the search.
Author(s) Alex Pinchuk
Latest version 1.0 (2020-10-23)
MediaWiki 1.35.0+
License MIT License
Download
1.35.0

Check usage and version matrix.

MediaWiki extension that allow to hide subpages from the list on Special:AllPages.

InstallationEdit

Clone this repository into extensions folder of your wiki.

Add to your LocalSettings.php a following line:

wfLoadExtension( 'ExcludeSubpages' );

ConfigureEdit

By default subpages, the checkbox will be checked that filters out Subpages from Special:AllPages list

You can set $wgHideSubpages = false; in you LocalSettings.php to make subpages queryable by default. The checkbox still appears and can be manually checked.