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 | GitHub: Note: |
| Example | zetawiki.com |
|
Hooks used
|
|
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
ForceTocOnEveryPagein yourextensions/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
- Extension:NoTOC
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.