User:MusikAnimal/userRightsManager

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

Usage
Currently the script only works at individual FP:PERM pages. To use, browse to any PERM subpage (such as FP: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
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
Add the following to your common.js: User:MusikAnimal/userRightsManager.js

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