MassUserRights provides a link to a modal (without changing location) which allows the user to list users to be promoted/demoted. The default usergroups bureaucrat, administrator, discussions moderator, chat moderator, rollback and content moderator are listed by default, though custom usergroups can be added for particular wikis (see below).
Select whether you would like to add or remove users from a usergroup with the dropdown menu (it is set at "Add" by default). In order to handle multiple users, add the usernames (without the User: prefix) each on a new line and proceed to handle them. The script will stop when it reaches an empty line.
In order to add custom usergroups, you need to follow this particular format for each entry, and add it above the import:
massUserRightsCustom = [ "1|2|3" ];
- 1 - the wiki URL name, for example FANDOM Open Source Library is "dev"
- 2 - the usergroup database name; for example the Code Editor usergroup is listed as codeeditor on Special:ListGroupRights after clicking (list of members), so we would use "codeeditor"
- 3 - the usergroup display name; for example codeeditor would display as Code Editor, so we would use "Code Editor"
Going by what the above explanation said, the way we can add the usergroup would be:
massUserRightsCustom = [ "dev|codeeditor|Code Editor" ];
An example of custom multiple wikis and usergroups:
massUserRightsCustom = [ "dev|codeeditor|Code Editor", "answers|patroller|Patroller", "mlp|imagecontrol|Image Control" ];
It is strongly recommended that you are using an account that has a bot flag when using this script excessively, as excessive user rights changes can flood the recent changes/wiki activity.
By default, the script will do one page per second. If you'd like to modify that, add the config massUserRightsDelay before importing the script with your own number (in milliseconds) instead.
The option to use the Mass User Rights script will appear in your toolbox on the left.
The option to use the Mass User Rights script will appear under your "My Tools" list (the toolbar at the bottom of your screen).
Please note you must not have the toolbar at the bottom hidden or the script will not function. If you do not see the "My Tools" (or other language equivalent), try clicking Customize and then "reset defaults" to not hide the "My Tools".