Extension:NumberOfWikis

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
NumberOfWikis

Release status: stable

Implementation Variable
Description Adds {{NUMBEROFWIKIS}} magic word to show the number of wikis on ShoutWiki
Author(s) Jack Phoenix
Last version 0.2
License Public domain
Download
Example ShoutWiki
Hooks used
MagicWordwgVariableIDs

ParserGetVariableValueSwitch

Check usage (experimental)

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.

[edit] Installation

  1. Download the files and place them in $IP/extensions/NumberOfWikis/
  2. Add the line
    require_once("$IP/extensions/NumberOfWikis/NumberOfWikis.php");
    into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox