MediaWiki extensions manual
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
Example zetawiki.com

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 edit

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

See also edit