![]() 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 | Download extension Git [?]: |
Parameters
|
|
Added rights
batchuserrights
|
|
Hooks provided
|
|
Quarterly downloads | 4 (Ranked 166th) |
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
- Download and place the file(s) in a directory called
BatchUserRights
in yourextensions/
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', );
file: 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";
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.