FANDOM


MediaWiki extensions manual - list
ProtectSite

Release status: stable

220px
Implementation Special page
Description Allows a site administrator to temporarily block various site modifications
Author(s) Eric Johnston
Chris Stafford
Jack Phoenix
Last version 0.3.4
MediaWiki 1.17+
Database changes<abbr/> no
License GNU General Public License 2.0 or later
Download
Parameters

$wgProtectSiteLimit
$wgProtectSiteDefaultTimeout
$wgProtectSiteExempt

Added rights

protectsite

Check usage and version matrix

ProtectSite extension adds a new special page, Special:ProtectSite, where users with the protectsite user right can block various site modifications.

When the ProtectSite extension is used, it will show up in the protection log (Special:Log/protect) as a protection of Special:AllPages.

InstallationEdit

  1. Download the source code and place the files into $IP/extensions/ProtectSite/
  2. Add the line
    require_once("$IP/extensions/ProtectSite/ProtectSite.php");
    into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version

User rightsEdit

By default, bureaucrat and staff groups have the protectsite right, which is required to access the special page.

ParametersEdit

  • $wgProtectSiteLimit — maximum time allowed for protection of the site
  • $wgProtectSiteDefaultTimeout — default timeout, 1 hour by default
  • $wgProtectSiteExempt — array of non-sysop user groups to be not effected by rights changes

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.