Extension:NumberedHeadings
Jump to navigation
Jump to search
![]() | This extension is incompatible with the current stable MediaWiki 1.35 release! You are advised against using this extension on a live site. Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.35 by replacing the {{Incompatible }} template with {{Incompatible |pledge=~~~~}} . |
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. Please see the following alternatives that you may wish to install instead of this extension:
|
NumberedHeadings Release status: unmaintained |
|
---|---|
Implementation | Variable |
Description | Toggles headings autonumbering |
Author(s) | Stanislav Pika (Пика Пикаtalk) |
Latest version | 1.0.0 (2019-03-19) |
MediaWiki | 1.25+ |
Database changes | No |
License | GNU General Public License 3.0 or later |
Download | GitHub: Note: README |
The NumberedHeadings extension toggles headings autonumbering. It is based on the precursing extensions MagicNumberedHeadings and MagicNoNumberedHeadings without breaking any functionality.
Usage[edit]
This extension provides tow magic words:
__NUMBEREDHEADINGS__
: automatic numbering of the headings in this page is forced, regardless of the user preference settings__NONUMBEREDHEADINGS__
:automatic numbering of the headings in this page is inhibited — again, regardless of the user preference settings
If article contains both magic words,
__NUMBEREDHEADINGS__
takes precedence over __NONUMBEREDHEADINGS__
.
Installation[edit]
- Download and place the file(s) in a directory called
NumberedHeadings
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'NumberedHeadings' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Development[edit]
Following contributions are welcome (preferably through GitHub):
- Localizations of the magic words
__NUMBEREDHEADINGS__
and__NONUMBEREDHEADINGS__
- Bug fixes
- Improvements