Wikipedia:Bots/Requests for approval/PkbwcgsBot 14
- 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: Pkbwcgs (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:48, Wednesday, December 26, 2018 (UTC)
Function overview: The bot will fix a couple of cases of high-priority CW Error #34 (Template programming element).
Automatic, Supervised, or Manual: Supervised
Programming language(s): AWB
Source code available: AWB
Links to relevant discussions (where appropriate):
Edit period(s): Once a week
Estimated number of pages affected: There are currently over 1,500 pages but the bot will do only around 150 a week.
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: The bot will fix these following cases of error 34 and WP:GenFixes will be turned off:
{{PAGENAME}}
,{{PAGENAMEE}}
,{{BASEPAGENAME}}
,{{BASEPAGENAMEE}}
will be substed__INDEX__
,__NOINDEX__
and__NEWSECTIONLINK__
will be deleted{{{
will be replaced with{{
where error 34 has been caused due to uneven open brackets for the template}}}
will be replaced with}}
where error 34 has been caused due to uneven close brackets for the template{{{reflist}}}
will be replaced with{{reflist}}
- ISBNs will be replaced with two brackets instead of three because ISBNs with three brackets will not work. E.g.
{{{ISBN|0-123-456-789}}}
will become{{ISBN|0-123-456-789}}
Discussion
[edit] Approved for trial (30 edits or 7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I would like to see 5 edits of each type, if possible. Primefac (talk) 15:30, 27 December 2018 (UTC)[reply]
- @Primefac: Some of the things I stated above like {{{reflist}}} are quite rare but hopefully I can get hold of at least one edit for that as well. Pkbwcgs (talk) 15:35, 27 December 2018 (UTC)[reply]
- @Primefac:
Trial complete. I am quite happy with how the bot trial went. My edits are located here. I made some very valid fixes to some templates within error 34. Some good fixes of error 34 to templates that came up during the trial includes: this, this and some others. Overall, that went well. Pkbwcgs (talk) 17:15, 27 December 2018 (UTC)[reply]
- @Primefac:
Approved. Primefac (talk) 18:14, 2 January 2019 (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.