Extension:ForceTocOnEveryPage

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
ForceTocOnEveryPage
Release status: stableCategory:Stable extensions
Implementation Tag Category:Tag extensions
Description Forces a table of contents to be displayed on every page.
Author(s) Jmkim dot com
Latest version 2.0 (2019-05-05)
MediaWiki 1.31+Category:Extensions with manual MediaWiki version
Database changes No
License GNU General Public License 2.0
Download Category:Extensions in GitHub version control
Example zetawiki.com
Category:All extensionsCategory:Extensions not in ExtensionJson

The ForceTocOnEveryPage extension forces a table of contents to be displayed on every page except on main page, in edit mode, and within special namespaces.

Installation

  • Download and place the file(s) in a directory called ForceTocOnEveryPage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ForceTocOnEveryPage' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also

Category:TOC extensions
Category:All extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:InternalParseBeforeLinks extensions Category:Stable extensions Category:TOC extensions Category:Tag extensions