Jump to content
MediaWiki

Extension:CloseWikis

From mediawiki.org
MediaWiki extensions manual
CloseWikis
Release status: stable
Implementation User rights
Description Allows to close wikis via web interface.
Author(s) Victor Vasiliev (VasilievVV talk )
Latest version 1.2
MediaWiki 1.17+
Database changes Yes
  • $wgCloseWikisDatabase
  • closewikis
  • editclosedwikis
Licence GNU General Public License 2.0 or later
Download
Translate the CloseWikis extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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

Installation

[edit ]
  • Download and move the extracted CloseWikis folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/CloseWikis
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CloseWikis' );
    $wgCloseWikisDatabase = "closewikis";
    
  • Run closewikis.sql to populate it with the correct table(s)
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

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

Usage

[edit ]

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".

AltStyle によって変換されたページ (->オリジナル) /