Wikipedia:Bots/Requests for approval/SelketBot 2


 * The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Symbol keep vote.svg Approved.

SelketBot
Operator: Selket

Automatic or Manually Assisted: Automatic

Programming Language(s): Python with PyWikipediaBot

Function Summary: Tags anonymous user talk pages with when appropriate.

Edit period(s) Continuous with timeouts to mitigate server load.

Edit rate requested: limited to one (1) edit per minute in software; requires about six (6) edits per hour in practice

Already has a bot flag (Y/N): No

Function Details: SelketBot will add the template to IP users' talk pages when the IP address is assigned in such a way that it is likely a shared IP. This template is useful both for administrators responding to vandalism and for users connecting from these IPs who may be surprised by previous allegations of vandalism. This functionality was requested at bot requests.

The bot runs in two threads. The observer thread watches the #en.wikipedia recent changes IRC channel for changes to IP users' talk pages. When it observes a change it inserts the IP address into a queue for processing by the checker thread. This multi-threaded approach is necessary to prevent missing one page update while analyzing another.

The checker thread checks whether the IP address should be tagged as a shared IP using the following test:
 * Compares IP against local log to prevent unnecessarily hitting the whois servers or repeating changes that have been undone by humans.
 * Gets the owner of the IP from whois to see if this is owned by a school, library, etc.
 * Checks the user's talk page to see if the template is already added.

If all of those checks pass (not redundant, shared IP, not tagged) the template is added. Bot is fully coded and ready to go. Demo log is available.

Discussion
I like it, care to put it into trial mode for a day or so? (I don't we can really do an edit count limit here... so just don't crash the servers :) -- Tawker 07:16, 11 February 2007 (UTC)
 * Yeah, the first time I run it I'll have it shut down after ten edits just to make sure everything is working properly.  --Selket Talk 21:53, 11 February 2007 (UTC)
 * Sounds good, can you post a log when you're done of the pages it tagged? -- Tawker 02:43, 12 February 2007 (UTC)
 * Trial completed. The log is up at User:SelketBot/Trial log but also see Special:Contributions/SelketBot for the more condensed version.  The emphasis on universities rather than school districts is a result of the time and day of the week that I ran this test.  --Selket Talk 10:48, 12 February 2007 (UTC)

Looks good. — M ETS 501 (talk) 00:08, 14 February 2007 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.