User:Rami R/rfppClerk

rfppClerk is a script allowing semi-automated clerking of WP:RFPP.

Tested on Win7, FF4.

Installation
Add the following line to your vector.js:

importScript('User:Rami_R/rfppClerk.js');

Usage

 * 1) At WP:RFPP, click "edit".
 * 2) 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.
 * 1) Click save

Important: this script hasn't been thoroughly tested. You are advised to check that the script works properly before saving.

Customization
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 =

To change the second, add to your monobook.js after the importScript line:

fr_timeout =

The script also automatically sets and unsets. 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).