Extension:HideSection

HideSection is a MediaWiki extension that adds links on each header to collapse and expand the section. This allows users to easily wade through long wiki pages and jump to the section they want to read.

This extension hides sections hierarchically. That means if you hide a top level header, any headers below it are automatically hidden. Typically, the header will display a "show" or "hide" link next to the edit link, though this can be configured to display an image instead. Additionally, there is a "show all"/"hide all" button, either on the first header or next to the page title.

For reporting an issue or a bug, please use [https://phabricator.miraheze.org Miraheze Phabricator].

Configuration

 * $wgHideSectionImages: Use these images as hide/show links. Default is null. If this array is set, images will be added according the the place marked in location. Location "begin" is before the first text of the header, while "end" places it at the very end of the header.


 * $wgHideSectionHideText: If set to a true value, text show/hide links are disabled. Useful when only images are wanted.


 * $wgHideSectionTitleLink: If set to a true value, adds a /  button to the right of the page title.

Known Issues

 * Strange interaction with disabled VisualEditor:


 * Prevents hiding of sections with Skin:Minerva, which is actually a default feature of that skin.