User:GeorgeMoney/IRC/Bot/Clerk

This bot is a general Requests for checkuser clerk helper bot for IRC held in #wikipedia-checkuser-clerks.

It is written in PHP by GeorgeMoney and hosted on the Toolserver.

What it does

 * Watches the irc.wikimedia.org feed for new additions to CheckUser requests.
 * Parses various info about new requests
 * Alerts pages on the stalklist that were edited

Parsing
It parses and reports:
 * the puppeteer
 * sockpuppets
 * requester
 * if page name is created properly
 * misuse of templates like.
 * code letter
 * if code letter is invalid


 * if the puppeteer or one of the socks edits the case
 * if the case is blanked
 * if the case is tagged for speedy deletion
 * if the case is closed, and why it was closed

Commands
Anyone in the channel can execute these commands.


 * !die - kill the bot if it goes crazy


 * !die -1 - restart the bot


 * !parse &lt;case&gt; - parse a specific case just like it would on new creation


 * !parseraw  - parse a page itself instead of case (see !stalkraw below)


 * !parsemin  - parse a case but don't list all the sockpuppets, just give a count and some general info - useful if you want to parse really long cases but don't want to flood the channel


 * !help - gives a link to here


 * !showinfo - shows various information about the connections. useful for debugging


 * !time - output the current UTC time


 * <tt>!stalk &lt;case&gt;</tt> - stalk a case so all edits to it are alerted


 * <tt>!unstalk &lt;case&gt;</tt> - unstalk a case


 * <tt>!stalkraw &lt;page&gt;</tt> - stalk a page so all edits to it are alerted (this is different from !stalk because Wikipedia:Reque...... is not prepended to the name)


 * <tt>!unstalkraw &lt;page&gt;</tt> - unstalk a page


 * <tt>!stalklist</tt> - list all the pages on the stalklist


 * <tt>!clerk</tt> - "ping" all clerks online that are on a list of "pingable" nicks


 * <tt>!link </tt> - format an http link to wikipedia


 * <tt>!pending</tt> - outputs http://en.wikipedia.org/wiki/Wikipedia:Requests_for_checkuser/Pending


 * <tt>!pendingedit</tt> - outputs http://en.wikipedia.org/wiki/Wikipedia:Requests_for_checkuser/Pending?action=edit


 * <tt>!rfcu</tt> - outputs http://en.wikipedia.org/wiki/Wikipedia:Requests_for_checkuser


 * <tt>!rfcuedit</tt> - outputs http://en.wikipedia.org/wiki/Wikipedia:Requests_for_checkuser?action=edit

Feature Requests
I know this bot doesn't have many features at the moment, so any feature requests are welcome!

Please list them |on the talk page.