Extension:ProtectSite
From MediaWiki.org
|
ProtectSite 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 |
||
| Last version | 0.3.4 | ||
| MediaWiki | 1.17+ | ||
| Database changes | no | ||
| License | GNU General Public License 2.0 or later | ||
| Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes CHANGELOG |
||
|
|||
|
|||
|
Check usage (experimental) |
|||
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.
[edit] Installation
- Download the files from SVN or download a snapshot (select your version of MediaWiki) and place them in $IP/extensions/ProtectSite/
- Add the line
into the wiki's LocalSettings.phprequire_once("$IP/extensions/ProtectSite/ProtectSite.php");
- Installation can now be verified through the wiki's Special:Version
[edit] User rights
By default, bureaucrat and staff groups have the protectsite right, which is required to access the special page.
[edit] Parameters
- $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