Open main menu

Extension:CloseWikis


Other languages:
English • ‎polski • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
CloseWikis
Release status: stable
Implementation User rights
Description Allows to close wikis via web interface.
Author(s) Victor Vasiliev (VasilievVVtalk)
Latest version 1.2
MediaWiki 1.17+
Database changes Yes
Tables closewikis
License GNU General Public License 2.0 or later
Download
$wgCloseWikisDatabase

  • closewikis
  • editclosedwikis
Translate the CloseWikis extension if it is available at translatewiki.net
Check usage and version matrix.

The CloseWikis extension that allows stewards to close and reopen wikis via a special page called "Special:CloseWiki".

InstallationEdit

  • Download and place the file(s) in a directory called CloseWikis in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'CloseWikis' );
    $wgCloseWikisDatabase = "closewikis";
    
  • Run closewikis.sql to populate it with the correct table(s)
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'CloseWikis' );, you need to use:

require_once "$IP/extensions/CloseWikis/CloseWikis.php";

ConfigurationEdit

$wgCloseWikisDatabase
This is the database that is shared among your wiki farm.

UsageEdit

To add a wiki to the list of wikis, use $wgLocalDatabases to define the wikis' databases. The name of the database should appear in the dropdown list in "Special:CloseWiki".