Jump to content

Extension:SectionsCount

From mediawiki.org
MediaWiki extensions manual
SectionsCount
Release status: experimental
Implementation Parser function
Description Magic word that displays the number of sections in a page
Author(s) Pierre Rudloff (Rudlofftalk)
MediaWiki
Composer archi-strasbourg/sections-count
License GNU General Public License 3.0
Download
README
Releases

The SectionsCount extension adds a parser function that displays the number of sections in a page.

Installation

[edit]
  • Download and place the file(s) in a directory called SectionsCount in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SectionsCount' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.