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 Approved.
Operator: Plastikspork (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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 {{NFT player}}
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)[reply]
Discussion
[edit]- Approved for trial (66 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. ·addshore· talk to me! 09:13, 2 June 2013 (UTC)[reply]
- Trial complete. Here are the 66 edits. Plastikspork ―Œ(talk) 21:48, 2 June 2013 (UTC)[reply]
- Is the log on wiki or local? ·addshore· talk to me! 08:20, 5 June 2013 (UTC)[reply]
- 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)[reply]
- 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)[reply]
- No problems here Approved. ·addshore· talk to me! 10:59, 8 June 2013 (UTC)[reply]
- Is the log on wiki or local? ·addshore· talk to me! 08:20, 5 June 2013 (UTC)[reply]
- Trial complete. Here are the 66 edits. Plastikspork ―Œ(talk) 21:48, 2 June 2013 (UTC)[reply]
- 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.