Wikipedia:Bots/Requests for approval/OverlordQBot 6


 * 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 oppose vote.svg Withdrawn by operator.

OverlordQBot 6
Operator: Q  T C

Automatic or Manually Assisted: Automatic

Programming Language(s): Perl

Function Overview: Clean up Category:Tor_exit_nodes and related subcats.

Edit period(s): One Time Run

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

Function Details: I want to do to clean out the Tor categories, get the categories of bans up to date, etc. Just basically clean up the mess that is the automagic tagging of Tor nodes. Below in the discussion of what it does, what it will do, and how it works.

Discussion
Original Proposed Format Hidden to Save Space Raw debug output from a run (doing checks only, no modification):

For this category (Category:Blocked former Tor exit nodes):
 * NotExitNoBan means what the name says, so the tor template can be removed as it's neither a open tor node, nor is it banned.
 * NotExitStillBanned means that that IP is not an active exit node, but it is still banned.
 * FormerActiveAgain means that the IP has reactivated and needs recat'd into Category:Unblocked Tor exit nodes.

For this category (Category:Unblocked Tor exit nodes):
 * NotExitNoBan is the same as the above.
 * IsExitIsBlocked means that is an active Exit and is already blocked so needs recat'd into Category:Blocked Tor exit nodes.
 * NotExitIsBlocked means that there is a block on the IP, but it isn't a Tor node, so needs moved into Category:Blocked former Tor exit nodes

For this category (Category:Blocked Tor exit nodes):
 * NotExitNoBan is same as the previous
 * NowFormerIsBlocked means the node is no longer active, but is banned, so needs moved into Category:Blocked former Tor exit nodes
 * IsExitIsBlocked means it is an active node and is still blocked, dont touch, just update timestamp on template tag.

These last two checks use the raw output from the Tor directory to check anything that isn't already listed

For this check:
 * NotBannedIsActive means it's an active exit node but isn't blocked so needs added to Category:Unblocked Tor exit nodes
 * IsBannedNoList means that it's an active exit node but isn't categorized so needs added to Category:Blocked Tor exit nodes

For this check:
 * NotBannedNotExit means it doesnt exit to wikipedia, dont bother with it
 * NotExitStillBanned means it doesn't exit to wikipedia, but is banned, so categorize into Category:Blocked former Tor exit nodes

For all of these, the 'categorize into' and cat changing is done with the tor templates. For the banned but shouldn't, not banned but should will be output to a page for followup, as the former may be blocks that are not related to being a TOR exit.

If I'm forgetting any edge cases or have the logic messed up above, feel free to comment. Q T C 07:05, 24 March 2009 (UTC)

Alright, after the comments below, I feel that these categories are redundant and obsoleted by the TorBlock extension. As such, I feel the request should fulfill these tasks.

For all currently blocked IPs: For all currently unblocked IPs:
 * log them to a page for manual application of correct template open proxy, tor,.
 * If not a Tor node, remove the tor templates
 * If it is a Tor node, log to a seperate page for follow up.

The ratio of blocked/unblockedactive/unblockedinactive is about 2:3:95 Q  T C 13:31, 26 March 2009 (UTC)


 * 8 edit tests in the Recent changes. Forgot to tell it to do a test run instead of the real thing so it edited the actual pages instead of spit them to a log in userspace. :( Q  T C 20:44, 25 March 2009 (UTC)

It's a replacement for KrimpBot for those confused. Q T C 10:03, 26 March 2009 (UTC)
 * User:KrimpBot has a lot of deleted contributions for a reason.... --MZMcBride (talk) 10:07, 26 March 2009 (UTC)
 * Is the reason that it was improperly tagging, or that tagging the talk pages was a bad idea? – xeno  ( talk ) 12:52, 26 March 2009 (UTC)
 * I (think) the complaint was that it was creating talk pages, then blanking, creating, etc. I think these categories need retired, and this task should be relegated to a one-time run to make it accurate as TorBlock should be handling all of this already.  Category tracking is pretty unnecessary at this point.  Q  T C 12:56, 26 March 2009 (UTC)
 * Modified the request. Q  T C 13:31, 26 March 2009 (UTC)
 * The categories could be deprecated by removing them from the templates. – xeno  ( talk ) 13:36, 26 March 2009 (UTC)
 * That'd be too easy. Q  T C 13:37, 26 March 2009 (UTC)

Meh, I'll take this to WT:OP where we can figure out the best way outta this and refile later. Q T C 13:45, 26 March 2009 (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.