Extension:StaffPowers

From Linux Web Expert

MediaWiki extensions manual
StaffPowers
Release status: stable
Implementation User rights
Description Applies staff powers, like unblockableness, superhuman strength and general awesomeness to select users.
Author(s) Łukasz Garczewski
Jack Phoenix
Mainframe98
Latest version 1.4 (2017-02-24)
MediaWiki 1.39+
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
  • $wgStaffPowersShoutWikiMessages
  • $wgStaffPowersStewardGroupName
unblockable
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Translate the StaffPowers extension if it is available at translatewiki.net

The StaffPowers extension applies staff powers, like unblockableness, superhuman strength and general awesomeness to select users.

Users who have the unblockable user right cannot be blocked by other users. Additionally, users who belong to the user group specified in $wgStaffPowersStewardGroupName cannot be blocked, except by users who have the unblockable user right. This right is assigned to the staff user group by default.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/StaffPowers</tvar>|Download]] and move the extracted <tvar name=name>StaffPowers</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/StaffPowers
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'StaffPowers' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Configuration

This extension introduces two new global variables, $wgStaffPowersShoutWikiMessages and $wgStaffPowersStewardGroupName.

  • $wgStaffPowersShoutWikiMessages determines if ShoutWiki specific messages should be shown. This is true by default.
  • $wgStaffPowersStewardGroupName determines which group should be considered unblockable by all except those with the unblockable right. It is set to steward by default. To disable this function, set it to false, NULL or an empty string.