Jump to content

User:Rami R/rfppClerk

From Wikipedia, the free encyclopedia

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]
  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.
  3. 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).