Extension:ForceTocOnEveryPage
From Linux Web Expert
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 | GitHub:
<translate> Note:</translate> |
Example | zetawiki.com |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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
- <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>
ForceTocOnEveryPage
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'ForceTocOnEveryPage' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
See also
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- Tag extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in GitHub version control
- InternalParseBeforeLinks extensions
- All extensions
- Extensions not in ExtensionJson
- TOC extensions