Wikipedia:Bots/Requests for approval/SporkBot 4


 * 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 keep vote.svg Approved

SporkBot 4
Operator:

Time filed: 23:35, Saturday June 1, 2013 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Perl

Source code available: Standard PerlWikipedia

Function overview: Update links after the website was restructured

Links to relevant discussions (where appropriate): WT:WikiProject Football thread

Edit period(s): One time run

Estimated number of pages affected: 9781

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): Yes

Function details: After a restructuring of National-Football-Teams.com, the URL scheme was changed. Unfortunately, they did not use the old IDs, and there is no way to guess the new IDs from the old IDs. The template is currently backwards compatible with the old URL scheme, which are temporarily redirecting to the new pages. However, it's not known how long the old IDs will be supported. To make things worse, editors have been taking the new IDs and using them with the old ID syntax. So, we really need to get rid of the old syntax, or have the old syntax issue a warning. But, before we can do that, we need to convert as many as possible to the new syntax. This one time bot run would follow the link generated by the template using the old syntax. If the link goes to the correct page (checked by matching it to the article title transcluding the template), it would update the template to the new ID. If the link goes to the wrong page, or if it cannot determine if it is the right or the wrong page, it will note that in a log file for human checking later. Plastikspork ―Œ (talk) 23:35, 1 June 2013 (UTC)

Discussion

 *  ·addshore·  talk to me! 09:13, 2 June 2013 (UTC)
 * Here are the [//en.wikipedia.org/w/index.php?title=Special:Contributions&dir=prev&offset=20130602045327&limit=66&tagfilter=&contribs=user&target=SporkBot&namespace= 66 edits]. Plastikspork ―Œ (talk) 21:48, 2 June 2013 (UTC)
 * Is the log on wiki or local?  ·addshore·  talk to me! 08:20, 5 June 2013 (UTC)
 * Local. It outputs to the console, which I pipe to a file to review.  The bot skipped about fifteen percent of the pages due to not finding an exact match between the article title here on WP with the article title on NFT.  I plan to have it make a first pass through, then review the log of the skipped pages and mark the ones that can be safely updated, and update the ones that can't by hand.  I can, of course, upload the log if anyone wants to see it. Thanks! Plastikspork ―Œ (talk)  03:19, 8 June 2013 (UTC)
 * To avoid checking the same article twice, we now have Category:Articles using NFT player with deprecated syntax. Thanks! Plastikspork ―Œ (talk)  03:21, 8 June 2013 (UTC)
 * No problems here  ·addshore·  talk to me! 10:59, 8 June 2013 (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.