Extension:BatchUserRights

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
BatchUserRights

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type Special page, User rights
DescriptionTemplate:Extension#description Allows adding one or more users to a group or more groups in one action
Author(s)Template:Extension#username Sean Colombo (SColombotalk)
Latest versionTemplate:Extension#version 1.2.0 (2014-03-26)
MediaWikiTemplate:Extension#mediawiki 1.17+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 3.0 or later
Download
Added rightsTemplate:Extension#rights

batchuserrights

Translate the BatchUserRights extension if it is available at translatewiki.net

Check usage and version matrix.

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

Installation[edit]

  • Download and place the file(s) in a directory called BatchUserRights in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    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',
    );
    
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.29 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.29 and earlier), instead of wfLoadExtension( 'BatchUserRights' );, you need to use:

require_once "$IP/extensions/BatchUserRights/BatchUserRights.php";