User:Rami R/rfppClerk
rfppClerk is a script allowing semi-automated clerking of WP:RFPP.
Tested on Win7, FF4.
Installation
[edit]Add the following line to your vector.js:
importScript('User:Rami_R/rfppClerk.js');
Usage
[edit]- At WP:RFPP, click "edit".
- In the toolbox to the left, click "RFPP Clerk". (Note: this link will only appear when editing the RFPP page)
- Expired protection requests will be moved/removed at this point. The edit summary will automatically be filled with counts of moved/removed requests (per section) and a count of unanswered requests.
- Click save
Important: this script hasn't been thoroughly tested. You are advised to check that the script works properly before saving.
Customization
[edit]The script will move requests to "fulfilled/denied" if no reply is made for 2 hours, and will remove requests from "fulfilled/denied" if no reply is made for 12 hours. Both these values can be changed.
To change the first, add to your monobook.js after the importScript line:
pr_timeout = <time in hours>
To change the second, add to your monobook.js after the importScript line:
fr_timeout = <time in hours>
The script also automatically sets and unsets {{adminbacklog}}. The backlog template is added when there are ten or more pending requests (customizable via the rpc_backlog variable), removed when there are four or less (customizable via the rpc_nobacklog variable).