Operator: Rick Block (talk)
Automatic or Manually Assisted: Automatic, unsupervised
Programming Language(s): Shell/awk w/ pywikipedia
Function Summary: Update Wikipedia:List of administrator hopefuls once a day
Edit period(s) (e.g. Continuous, daily, one time run): Daily
Already has a bot flag (Y/N): Y
Function Details: Similar to the Wikipedia:LA activity update the bot already does, but rather than update admin activity status update the list of admin hopefuls. Because of the data folks would like to see in this list (see Wikipedia talk:List of administrator hopefuls) there's a fair amount of work to do. I'm open to suggestions, but what I have currently coded (as a standalone tool, not connected to the bot) is:
I've put a throttle on the contribution fetches (but not the RFA fetches) that introduces a 10 second sleep after every 10 users. There are approximately 1000 pages in this category (currently roughly 300 "active" vs. 700 not so active). The net effect is the tool executes 1000 allpages queries (to get the previous RFAs) and somewhat more than 700 contributions queries every time it runs (and takes about an hour20 minutes).
Update: The original version looked for previous RFAs user by user. The current version fetches all subpages under Wikipedia:Requests for adminship and uses this local file instead. This change reduces 1000 allpages queries to 8 - fetching the article titles for 500 RFAs at a time -- Rick Block (talk) 14:37, 5 September 2008 (UTC)[reply]
I don't really think the list needs to be updated daily. BJTalk 05:42, 7 September 2008 (UTC)[reply]