Wikipedia:Bots/Requests for approval/DusterBot
From Wikipedia, the free encyclopedia
- 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 Approved.
[edit] DusterBot
tasks • contribs • count • sul • logs • page moves • block user • block log • flag log • flag bot
Operator: ((1 == 2) ? (('Stop') : ('Go'))
Automatic or Manually Assisted: Fully automatic
Programming Language(s): Perl
Function Summary: Removed users who are blocked from Category:Usernames editors have expressed concern over.
Edit period(s) (e.g. Continuous, daily, one time run): Once a day
Edit rate requested: X edits per TIME 1 edit per minute is plenty fast enough
Already has a bot flag (Y/N):
Function Details: Category:Usernames editors have expressed concern over is currently of limited use as it is clogged with blocked(unneeded) names. The purpose of the category is to show users who are currently in the process of having their usernames challenged. There are currently 85 blocked users listed.
The bot will use api.php to get a list of users in the list, and will then check if each one is blocked. When it finds a blocked user it will remove the category from the userpage. The bot will not remove the category from any page not in the "User" or "User talk" namespaces. The code is written and ready for testing. ((1 == 2) ? (('Stop') : ('Go')) 16:19, 9 October 2007 (UTC)
[edit] Discussion
I attempted discussion here: Category_talk:Usernames_editors_have_expressed_concern_over#Cleanup_bot, no response. ((1 == 2) ? (('Stop') : ('Go')) 16:21, 9 October 2007 (UTC)
- I take it that the bot will be flagged, and make minor edits, so as to not cause new-messages bars on the blocked users' talk pages? --ais523 16:23, 9 October 2007 (UTC)
Yes, that is a good idea. ((1 == 2) ? (('Stop') : ('Go')) 16:25, 9 October 2007 (UTC)
- Approved for trial (20 edits). Not much more is really needed IMHO Reedy Boy 20:23, 9 October 2007 (UTC)
Thanks, I will perform some tests now. ((1 == 2) ? (('Stop') : ('Go')) 20:28, 9 October 2007 (UTC)
I had a small bug where Unicode characters stripped out, but I have fixed it. I am not running it one name at a time and checking over the results. ((1 == 2) ? (('Stop') : ('Go')) 21:09, 9 October 2007 (UTC)
I would like to add a task to substitute {{usernameconcern}} templates that have been left unsubstituted, so that I can remove the category. ((1 == 2) ? (('Stop') : ('Go')) 21:11, 9 October 2007 (UTC)
- Approved for trial. Subst as needed. Carbon Monoxide 23:44, 9 October 2007 (UTC)
I have implemented substitution, and have performed 20 test edits. The first 4 edits showed a problem with it stripping out Unicode characters, I got that fixed. The next 16 edits(21:06, 9 October 2007 and after) worked as expected. I believe bot is finished with its testing and I am seeking final approval. I think this bot should run with the flag if that prevents the "New messages" box from coming up due to the edit, I am not sure if it has an effect, it marks its edits as minor. ((1 == 2) ? (('Stop') : ('Go')) 00:16, 10 October 2007 (UTC)
- The bot should be flagged and should mark edits as minor to avoid the new messages bar. Carbon Monoxide 00:56, 10 October 2007 (UTC)
Okay, it already marks them as minor. I will wait for the flag to be set before running it. ((1 == 2) ? (('Stop') : ('Go')) 01:05, 10 October 2007 (UTC)
- Approved. Carbon Monoxide 01:54, 10 October 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.