Extension:ProtectSite
Appearance
Please help expand this page. The reason given is: Needs more detail |
Release status: stable |
|
|---|---|
| Implementation | Special page |
| Description | Allows a site administrator to temporarily block various site modifications |
| Author(s) | Eric Johnston Chris Stafford Jack Phoenix |
| Latest version | 0.5.0 (2016-12-05) |
| MediaWiki | 1.43+ |
| Database changes | No |
|
|
|
|
protectsite |
|
| License | GNU General Public License 2.0 or later |
| Download | |
| Translate the ProtectSite extension if it is available at translatewiki.net | |
| Issues | Open tasks · Report a bug |
ProtectSite extension adds a new special page, Special:ProtectSite, where users with the protectsite user right can block various site modifications.
The extension will show up in the protection log (Special:Log/protect) as a protection of Special:AllPages.
When the extension is enabled, it will override the default settings that may already be defined for the timeout period specified.
Installation
[edit]- Download and move the extracted
ProtectSitefolder 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/ProtectSite
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'ProtectSite' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
User rights
[edit]By default the bureaucrat group has the protectsite right, which is required to access the special page.
Parameters
[edit]$wgProtectSiteLimit— maximum time allowed for protection of the site$wgProtectSiteDefaultTimeout— default timeout,1 hourby default$wgProtectSiteExempt— array of non-sysop user groups that are not affected by rights changes
See also
[edit]- Extension:ProtectEntireWiki -- A extension that has more feature, include protect site (like this) and protect namespace.
| This extension is included in the following wiki farms/hosts and/or packages: |
