Extension:BatchUserRights

From Linux Web Expert

MediaWiki extensions manual
BatchUserRights
Release status: unmaintained
Implementation Special page , User rights
Description Allows adding one or more users to a group or more groups in one action
Author(s) Sean Colombo (SColombotalk)
Latest version 1.2.0 (2017-11-16)
MediaWiki 1.29+
Database changes No
License GNU General Public License 3.0 or later
Download
  • $wgBatchUserRightsGrantableGroups
batchuserrights
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 BatchUserRights extension if it is available at translatewiki.net

The BatchUserRights extension allows adding one or more users to several groups in one action.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/BatchUserRights</tvar>|Download]] and move the extracted <tvar name=name>BatchUserRights</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/BatchUserRights
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'BatchUserRights' );
    # $wgGroupPermissions['bureaucrat']['batchuserrights'] = false; // right already given by default to bureaucrats, set this to remove permission
    # User groups which can be added through "Special:BatchUserRights" - Example:
    $wgBatchUserRightsGrantableGroups = array(
    	'bot',
    	'sysop',
    );
    
  • 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>