Wikipedia:Bots/Requests for approval/Yet Another Redirect Cleanup Bot
- 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.
Operator: Chris
Automatic or Manually Assisted: Fully Auto
Programming Language(s): PHP using my classes
Function Overview: Deletes Broken Redirects
Edit period(s): Daily
Already has a bot flag (Y/N): N
Function Details:
- Gets a list of broken redirects from the toolserver
- Ignores redirects that are in the File or User( talk) namespaces
- Fixes any interwiki redirects by replacing them with {{softredirect}}
- Deletes all of the redirects that haven't been edited in the last 4 days or only have 1 revision
- Puts a list of the skipped redirects in a subpage of its userspace
Discussion
editSource is here --Chris 02:03, 3 May 2009 (UTC)[reply]
- How is this different from the 2 other RDC bots in trial? Xclamation point 02:28, 3 May 2009 (UTC)[reply]
And what's the logic behind older then four days? Wouldn't that let me take say George W. Bush redirect it to asdfasdfasdfasdfasdfasdg;laksdgj;alkdl;sf and since it's older then four days your bot would delete it.Nevermind, seeing it's taking the last modified as older then four days. Q T C 02:36, 3 May 2009 (UTC)[reply]
- Re: X!:
- Its handling of interwiki redirects
- Deletes pages with over 1 revision (assuming it hasn't been edited in the last 4 days)
- The bot will actually run. I haven't seen any bots actually doing this task for some time now. --Chris 02:59, 3 May 2009 (UTC)[reply]
What's the purpose of removing File: redirects? (They're valid, no?) And by removing redirects from User: / User_talk: pages, you risk obscuring bad page moves.
Also:
- How does this bot handle category redirects?
- Including (delete) links for pages the bot already skipped seems a bit dangerous, no?
--MZMcBride (talk) 00:54, 6 May 2009 (UTC)[reply]
- File redirects are a fairly new feature so I like to err on the side of caution, if a backlog of broken file redirects(I haven't seen any to be honest) starts building up I probably would get the bot to delete them
- The userspace is special, people tend to get a bit angry when you delete their pages(consider this situation user goes on wikibreak, vandal redirects some of talkpage archives to break them, 4 days pass, bot deletes them, user comes back from wikibreak to find half their userspace deleted), once again this goes with erring on the side of caution
- it treats them like any other redirect
- thats more of a hangover from when the bot only deleted pages which had one revision or less, I can remove it if you like
--Chris 09:06, 7 May 2009 (UTC)[reply]
- My point about root User: / User_talk: pages was that the bot should just leave them alone so an admin (or someone else) can notice that there's recently been a move and investigate (rather than the bot fixing them and the page looking blank).
- And, yeah, probably a good idea to remove the (delete) links.
- Other than that, this seems pretty sound. Seems ready for a trial. --MZMcBride (talk) 13:31, 7 May 2009 (UTC)[reply]
My apologizes, I have clarified the wording. --Chris 13:56, 7 May 2009 (UTC)[reply]
- How will it delete broken redirects? Are you asking for this to be an adminbot? – Quadell (talk) 15:48, 7 May 2009 (UTC)[reply]
- Yes. Its a fairly uncontroversial task. --Chris 08:20, 8 May 2009 (UTC)[reply]
Approved for trial (30 fixes). Please provide a link to the relevant contributions and/or diffs when the trial is complete. This means 30 deletions or {{softredirect}} replacements. – Quadell (talk) 13:00, 8 May 2009 (UTC)[reply]
Trial complete.:
- 13:17, May 8, 2009 (hist) (diff) User:Chris G/SkippedRedirects (Updating List)
- 13:16, May 8, 2009 (hist) (diff) Template:Formatnum (Fixing interwiki redirect. (BOT))
# 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Wikipedia:Process wonk" (Deleting broken redirect to User:JzG/Wikipedia:Wonks per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Scenes (the band)" (Deleting broken redirect to Talk:Scenes (band) per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Park Plaza County Hall Hotel" (Deleting broken redirect to Talk:Park Plaza County Hall per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Battlestar Galactica units" (Deleting broken redirect to Talk:List of units of measurement in Battlestar Galactica per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:List of Notable Ferrari Enzo Owners" (Deleting broken redirect to Talk:List of notable Enzo Ferrari owners per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Iraq War 2003 (computer game)" (Deleting broken redirect to Talk:Iraq War 2003 (video game) per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Estonia-Montenegro relations" (Deleting broken redirect to Talk:Estonia–Montenegro relations per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Eanna Cullen (Writer)" (Deleting broken redirect to Talk:Eanna Cullen per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Talk:Invention of Lying" (Deleting broken redirect to Talk:Cemetery Junction (film) per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Thole ka Langa" (Deleting broken redirect to Thole kaLanga per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Emo Armagedon" (Deleting broken redirect to The Emo Armageddon per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Scenes (the band)" (Deleting broken redirect to Scenes (band) per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Rival brand" (Deleting broken redirect to Rival Brand per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Rainbow bass" (Deleting broken redirect to Rainbow Bass per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Rainbow Bass (guitar)" (Deleting broken redirect to Rainbow Bass per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Stadium cake" (Deleting broken redirect to Ohio Stadium Cake per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Mimi tsankov" (Deleting broken redirect to Mimi Tsankov per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Metes" (Deleting broken redirect to Meteş per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Battlestar Galactica units" (Deleting broken redirect to List of units of measurement in Battlestar Galactica per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Yahren" (Deleting broken redirect to List of units of measurement in Battlestar Galactica per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Secton" (Deleting broken redirect to List of units of measurement in Battlestar Galactica per WP:CSD#G8. (BOT)) (view/restore) # 13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Sectar" (Deleting broken redirect to List of units of measurement in Battlestar Galactica per WP:CSD#G8. (BOT)) (view/restore) # 13:16, May 8, 2009 Chris G (talk | contribs | block) deleted "Keith Doyle (rugby union)" (Deleting broken redirect to Keith Doyle (rugby player) per WP:CSD#G8. (BOT)) (view/restore) # 13:16, May 8, 2009 Chris G (talk | contribs | block) deleted "Iraq War 2003 (computer game)" (Deleting broken redirect to Iraq War 2003 (video game) per WP:CSD#G8. (BOT)) (view/restore) # 13:16, May 8, 2009 Chris G (talk | contribs | block) deleted "Yahsar Tzanchanim" (Deleting broken redirect to Gadsar Tzanchanim per WP:CSD#G8. (BOT)) (view/restore) # 13:16, May 8, 2009 Chris G (talk | contribs | block) deleted "Estonia-Montenegro relations" (Deleting broken redirect to Estonia–Montenegro relations per WP:CSD#G8. (BOT)) (view/restore) # 13:16, May 8, 2009 Chris G (talk | contribs | block) deleted "Eddie anderson (tv)" (Deleting broken redirect to Eddie Anderson (TV) per WP:CSD#G8. (BOT)) (view/restore)
--Chris 13:27, 8 May 2009 (UTC)[reply]
- Problem: it looks to me like Metes was a valid redirect to Meteş, but the bot deleted it. Is this an encoding issue? – Quadell (talk) 16:59, 8 May 2009 (UTC)[reply]
- No that was a valid deletion. Look at the logs (noting the timestamps):
* 15:13, May 8, 2009 Alexf (talk | contribs | block) restored "Meteş" (5 revisions restored: Restored to a previous steady state by request) * 12:10, May 8, 2009 Alexf (talk | contribs | block) deleted "Meteş" (A2: Article in a foreign language which exists on another project) (view/restore)
and then:
13:17, May 8, 2009 Chris G (talk | contribs | block) deleted "Metes" (Deleting broken redirect to Meteş per WP:CSD#G8. (BOT)) (view/restore)
--Chris 03:41, 9 May 2009 (UTC)[reply]
- Oh, I see. But that brings up a possible issue. In addition to checking if the rd has been edited in the last 4 days, should it also check if the non-existent target has been deleted in the last 4 days? – Quadell (talk) 03:52, 9 May 2009 (UTC)[reply]
- I'd say if it's checking the logs for the target page, it should be within the last 12 hours or so. Four days is a bit much. --MZMcBride (talk) 05:02, 10 May 2009 (UTC)[reply]
- Added (12 hours). --Chris 10:12, 10 May 2009 (UTC)[reply]
- I'd say if it's checking the logs for the target page, it should be within the last 12 hours or so. Four days is a bit much. --MZMcBride (talk) 05:02, 10 May 2009 (UTC)[reply]
I'm ready to approve this... but as it will be an adminbot, I'm not sure of the protocol. Will you be running this under your main account, with the word "bot" in the edit/deletion summary, like in the trial? Or will you want the bot to be give administrator rights? How is that done? – Quadell (talk) 12:43, 11 May 2009 (UTC)[reply]
- The current protocol is that the bot will run under a separate account that will be flagged by a 'crat. See WP:ADMINBOT for more info. --Chris 12:55, 11 May 2009 (UTC)[reply]
Approved. Okee dokee. – Quadell (talk) 13:19, 11 May 2009 (UTC)[reply]
- 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.