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 | closedwikis |
| License | GNU General Public License 2.0 or later |
| Download | Download extension Git [?]: |
|
Parameters
|
|
|
Hooks used
|
|
| Quarterly downloads | 2 (Ranked 168th) |
| 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
- Download and place the file(s) in a directory called
CloseWikisin yourextensions/folder. - 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)
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";
Configuration
- $wgCloseWikisDatabase
- This is the database that is shared among your wiki farm.
Usage
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".
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.