Extension:StaffPowers

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 4 (Ranked 135th)
Public wikis using 6,569 (Ranked 37th)
Translate the StaffPowers extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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

  • Download and move the extracted StaffPowers folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/StaffPowers
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'StaffPowers' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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.