Extension:SectionsCount

From Linux Web Expert

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
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 SectionsCount extension adds a parser function that displays the number of sections in a page.

Installation

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>SectionsCount</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( 'SectionsCount' );
    
  • 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>