Extension:NumberOfWikis
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | VariableCategory:Variable extensions |
Description | Adds {{NUMBEROFWIKIS}} magic word to show the number of wikis on ShoutWiki |
Author(s) | Jack Phoenix |
Latest version | 0.5 |
MediaWiki | 1.43.1+Category:Extensions with manual MediaWiki version |
License | Public domain |
Download | Category:Extensions in Wikimedia version control |
Example | ShoutWiki |
Quarterly downloads | 0 |
Translate the NumberOfWikis extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
NumberOfWikis extension adds a new magic word, NUMBEROFWIKIS, to show the number of wikis on ShoutWiki. The extension fetches the amount of wikis from the wiki_list
database table, excluding all deleted wikis. This value is cached for a day.
This extension is currently very ShoutWiki-specific.
If Extension:CentralAuth is enabled this extension does not need to be enabled as the magic world is already defined by CentralAuth. This is also the case for Extension:SiteMatrix.
Installation
- Download and move the extracted
NumberOfWikis
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NumberOfWikis - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'NumberOfWikis' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed. Category:Extensions by ShoutWiki Category:Wiki farm extensions Category:Wiki-specific extensions
Category:All extensions
Category:Extensions by ShoutWiki
Category:Extensions in Wikimedia version control
Category:Extensions with manual MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:MagicWordwgVariableIDs extensions
Category:ParserGetVariableValueSwitch extensions
Category:Public domain licensed extensions
Category:Stable extensions
Category:Variable extensions
Category:Wiki-specific extensions
Category:Wiki farm extensions