Wikipedia:Bots/Requests for approval/BrokenAnchorBot
- 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 Approved.
Operator: Winston365 (talk · contribs)
Automatic or Manually assisted: Manually assisted
Programming language(s): Python, AWB
Source code available: Available here.
Function overview: Fixing broken anchor links.
Links to relevant discussions (where appropriate):
Edit period(s): Almost daily if I have the time.
Estimated number of pages affected: Thousands of pages are affected. I have been averaging perhaps 100 pages per day on my regular user account lately, but it is quite variable.
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): N
Function details: The goal is to fix as many broken anchor links as possible. I have been working on this problem for a few months, and have started developing tools to assist me. Right now I am using a Pywikipediabot program with a PyQt gui that searches for broken anchor links to particular pages, which are then exported to another PyQt program. I usually find pages that have broken anchor links to them with the help of WildBot. The second program provides a nice tree-view, mostly point-and-click way of resolving these broken anchors. This program then exports an AWB settings file containing all the needed fixes. The actual edits are made with AWB. The program tries to be smart about working with redirects properly, and dealing with the different valid ways anchor links can be written. I have been using these tools for a few weeks and making a lot of edits (I fixed many broken anchor links using different techniques, with or without AWB, before developing this program).
Discussion
[edit]Seems good. Lets see how you do. Tim1357 talk 05:02, 15 June 2010 (UTC)[reply]
Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. (But you may go over if you feel you need more time to test your code) Tim1357 talk 05:02, 15 June 2010 (UTC)[reply]
- Trial complete. 30 edits have been made. Everything seemed to work smoothly. Winston365 (talk) 22:16, 15 June 2010 (UTC)[reply]