Open main menu

Extension:StaffPowers

MediaWiki extensions manual
OOjs UI icon advanced.svg
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.33+
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
$StaffPowersStewardGroupName, $StaffPowersShoutWikiMessages
unblockable
Translate the StaffPowers extension if it is available at translatewiki.net
Check usage and version matrix.

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.

InstallationEdit

  • Download and place the file(s) in a directory called StaffPowers in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'StaffPowers' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ConfigurationEdit

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.