MassUserRights

MassUserRights provides a link to a modal (without changing location) which allows the user to users to be promoted/demoted.

Usage
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 the particular format, for each entry, and add it above the import:

Where:
 * 1 - the wiki URL name, for example 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:

An example of custom multiple wikis and usergroups:

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.

Monobook
The option to use the Mass User Rights script will appear in your toolbox on the left.

Oasis
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".'''