Extension:SectionsCount

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
SectionsCount
Release status: experimental
Implementation Parser function
Description Magic word that displays the number of sections in a page
Author(s) Pierre Rudloff (Rudlofftalk)
Composer archi-strasbourg/sections-count
License GNU General Public License 3.0
Download
README
Releases
Check usage and version matrix.

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:
    wfLoadExtension( 'SectionsCount' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.