Wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 8
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was
Approved.
Operator: Qwerfjkl (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:15, Tuesday, March 1, 2022 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): JavaScript
Source code available: User:Qwerfjkl (bot)/code/8
Function overview: Templatify US county presidential results
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Finish templatization of US county presidential election results
Edit period(s): one time run
Estimated number of pages affected: <3000
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Convert all U.S. county presidential election results from wikitable markup (such as at Elk County, Pennsylvania) into template form using {{PresHead}}, {{PresRow}}, and {{PresFoot}} (such as at Cook County, Illinois). As the regexps are imperfect, the code will check if the table matches the required format, and save if so.
Discussion
edit Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 13:14, 13 March 2022 (UTC)[reply]
Trial complete. @Primefac. See these 50 contributions. ― Qwerfjkltalk 19:00, 13 March 2022 (UTC)[reply]
- 1 error here due to unexpected whitespace, now fixed. ― Qwerfjkltalk 17:04, 15 March 2022 (UTC)[reply]
- {{BAG assistance needed}} ― Qwerfjkltalk 17:34, 22 March 2022 (UTC)[reply]
Approved. Primefac (talk) 12:42, 27 March 2022 (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 Wikipedia:Bots/Noticeboard.