Extension:NoTocNum
Appearance
Release status: stable |
|
|---|---|
| Implementation | Extended syntax |
| Description | Allows hiding automatic the toc numbering using __NOTOCNUMBERS__. |
| Author(s) | Gota de agua (gota de aguatalk) |
| Latest version | 2.0 (2026-06-04) |
| MediaWiki | >= 1.35 |
| PHP | 8.2+ |
| Database changes | No |
|
$wgNoTocNumEnableSpecialPages |
|
| Licence | GNU General Public License 2.0 or later |
| Download | GitHub:
Note: |
NoTocNum is a extension that allows hide automatic toc numbering using the magic word __NOTOCNUMBERS__.
The magic word can be use in any page, also allow apply in special pages using $wgNoTocNumEnableSpecialPages
Installation
[edit]- Download and place the file(s) in a directory called
NoTocNumin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'NoTocNum' );
Done – Navigate to Special:Versionon your wiki to verify that the extension is successfully installed.
Configuration
[edit]| Name | Default | Description |
|---|---|---|
| $wgNoTocNumEnableSpecialPages | Allow hide the the toc numbering of the special pages |
