Extension:StaffPowers

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.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; 22 months ago (2017-02-24))
MediaWiki 1.32+
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
Parameters
$StaffPowersStewardGroupName, $StaffPowersShoutWikiMessages
Added rights
unblockable
Hooks used
BlockIp
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.

Installation[edit]

  • 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration[edit]

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.