Wikipedia:Bots/Requests for approval/WildBot 7


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol oppose vote.svg Withdrawn by operator.

WildBot 7
Operator:

Automatic or Manually assisted: Automatic

Programming language(s): Python

Source code available: Once developed

Function overview: Simple link fixes and notification on the target of multiple broken #section links

Links to relevant discussions (where appropriate): Bots/Requests for approval/FrescoBot 3

Edit period(s): Continuous

Estimated number of pages affected: About 1500 links have the http problem; Category:Pages containing links with bad anchors has nearly 2000 pages (I guess 20% of these pages have a link that can be fixed with a case-insensitive match, so 400-ish edits); and I don't know how many pages have multiple broken #section links targeting them, but there's at least two.

Exclusion compliant (Y/N): standard in pywikipedia

Assert Edit flags used (exists, user/bot, none): none

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

Function details: This task includes a shopping list of fixes:
 * 1) if an internal link is a redlink, and it starts with http://, change it to an external link.
 * 2) *There are 1500 instances of this problem at the moment
 * 3) if a #section link is a case-insensitive match for an anchor on the page, change it to match that anchor.
 * 4) *This is a reasonably common case within broken #section links (see Category:Pages containing links with bad anchors)
 * 5) *Same-page links will be caught too
 * 6) Notification on the target page where there are the same broken #section links come from multiple pages.
 * 7) *Used when a section-header is changed, and that breaks multiple pages linking to that page, for example: Page footy has the section ===Center=== changed to ===Centre===, and any pages like Linebacker which linked to footy is now broken. The notice will encourage editors to put anchor in front of the new section name with the old section name in it, to allow backwards compatibility.  This message will look something like:
 * 1) *Used when a section-header is changed, and that breaks multiple pages linking to that page, for example: Page footy has the section ===Center=== changed to ===Centre===, and any pages like Linebacker which linked to footy is now broken. The notice will encourage editors to put anchor in front of the new section name with the old section name in it, to allow backwards compatibility.  This message will look something like:

Assert Edit is not currently supported by pywikipedia's trunk release; it is in the rewrite release.

Discussion
Preferably 15 each of fixes one, two, and three. &mdash; The Earwig   (talk)  21:02, 13 March 2010 (UTC)
 * Shows 4 hits in article space and 6 in File space. I don't think this point is worth pursuing. I'll keep at the others. Josh Parris 10:53, 14 March 2010 (UTC)

Section fixes
These edits show this chunk of functionality is done. Josh Parris 02:46, 19 March 2010 (UTC)
 * http://en.wikipedia.org/w/index.php?title=Freedom_of_religion_in_the_United_States&diff=prev&oldid=350384250
 * http://en.wikipedia.org/w/index.php?title=List_of_algorithms&diff=prev&oldid=350560233
 * http://en.wikipedia.org/w/index.php?title=Glossary_of_climbing_terms&diff=prev&oldid=350676846
 * http://en.wikipedia.org/w/index.php?title=University_of_Texas_at_Austin&diff=prev&oldid=350683122
 * http://en.wikipedia.org/w/index.php?title=List_of_mascots&diff=prev&oldid=350685711 * Repeated message in summary. Fixed.
 * http://en.wikipedia.org/w/index.php?title=Rob_Van_Dam&diff=prev&oldid=350686907
 * http://en.wikipedia.org/w/index.php?title=Blaxy_Girls_discography&diff=prev&oldid=350693479
 * http://en.wikipedia.org/w/index.php?title=Electroshock_%28wrestler%29&diff=prev&oldid=350693804
 * http://en.wikipedia.org/w/index.php?title=Bratislava&diff=prev&oldid=350700554
 * http://en.wikipedia.org/w/index.php?title=Madonna_%28entertainer%29&diff=prev&oldid=350701879 * Useless change. Fixed.
 * http://en.wikipedia.org/w/index.php?title=Texas_A%26M_University&diff=prev&oldid=350703524
 * http://en.wikipedia.org/w/index.php?title=We_Belong_Together&diff=prev&oldid=350708094
 * http://en.wikipedia.org/w/index.php?title=Culture_of_Cuba&diff=prev&oldid=350709089
 * http://en.wikipedia.org/w/index.php?title=Talk_%28song%29&diff=prev&oldid=350709431
 * http://en.wikipedia.org/w/index.php?title=Yeah!_(Usher_song)&diff=prev&oldid=350711285
 * http://en.wikipedia.org/w/index.php?title=Alan_Turing&diff=prev&oldid=350716022
 * http://en.wikipedia.org/w/index.php?title=Alternate_history&diff=prev&oldid=350716079

Popular #section targets
I will commence testing on this around the 10th of April. Josh Parris 23:58, 24 March 2010 (UTC)
 * D Any updates? The bot has been blocked, what's going on? &mdash; The Earwig   (talk)  20:22, 11 May 2010 (UTC)
 * Bot's blocked and I haven't yet figured out what caused it to do the thing it was doing that caused the blocking. Still no progress on the #section bizzo (been quite busy), but I do intend to complete this. Josh Parris 23:28, 11 May 2010 (UTC)
 * Thanks. Please reply when you've figured out what the problem is and when you're willing to get back to work on this task. ("I haven't yet figured out what caused it to do the thing it was doing that caused the blocking"... o_O) &mdash; The Earwig   (talk)  20:16, 19 May 2010 (UTC)
 * Beep. Hows it going with the trial? Tim  1357  talk  13:45, 13 June 2010 (UTC)

Any updates? Mr.Z-man 15:50, 13 June 2010 (UTC)

Given the lack of progress and lack of time to devote to this at the moment. I intend to reopen this when I've got the time available to devote to this. Josh Parris 20:32, 19 June 2010 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.