Cannabis Ruderalis

User script
userRightsManager.js
DescriptionUser rights management and WP:PERM helper for admins
Author(s)MusikAnimal
StatusStable
UpdatedApril 25, 2022
    (23 months ago)
Browser supportAny modern browser or IE11+
Skin supportAll
SourceUser:MusikAnimal/userRightsManager.js

This script allows you to respond to requests at WP:PERM by adding closing remarks to a request, assigning the right, and issuing a talk page message – all within a few seconds.

Usage[edit]

Currently the script only works at individual WP:PERM pages. To use, browse to any PERM subpage (such as WP:PERM/R), and if you want to grant the right to a user, click on the "Assign permissions" link as you would normally. A dialogue will appear allowing you to enter closing remarks, and a customized summary that will appear in the user rights log. The user rights log summary will automatically include a permalink to the discussion.

If you do not want to use the script and assign the rights manually, simply right-click on the "Assign permissions" link and select "Open in a new tab" (or similar option depending on your browser). This will bypass the script and allow you to use the normal MediaWiki user rights form.

Assigning rights temporarily[edit]

Use the "Expiry" field to set a date for the rights to expire. This will also pass in the |expiry= parameter to the corresponding template that is substituted on the user's talk page. If you want to grant the right indefinitely, just leave the expiry field blank.

Setup[edit]

Add the following to your common.js:

{{subst:lusc|User:MusikAnimal/userRightsManager.js}}

Bugs/feature requests[edit]

Ask/request anything you'd like at User talk:MusikAnimal.

Leave a Reply