Extension:ForceTocOnEveryPage

MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
ForceTocOnEveryPage
Release status: stable
Implementation Tag
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+
Database changes No
License GNU General Public License 2.0
Download
Example zetawiki.com

Check usage and version matrix.

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.

InstallationEdit

  • 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:
    wfLoadExtension( 'ForceTocOnEveryPage' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See alsoEdit