From MediaWiki.org
Jump to navigation Jump to search
Other languages:
English • ‎español • ‎polski • ‎中文 • ‎日本語 • ‎한국어
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: stable
Implementation Tag
Description Forces a table of contents to be displayed on every page.
Author(s) Jmkim dot com
Latest version 1.0.4 (2012-08-20)
MediaWiki 1.18+
Database changes No
License GNU General Public License 2.0
Example http://zetawiki.com/
Translate the ForceTocOnEveryPage extension if it is available at translatewiki.net
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.


  • Download, extract 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:
    require_once "$IP/extensions/ForceTocOnEveryPage/ForceTocOnEveryPage.php";
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also[edit]