Wikipedia:Bots/Requests for approval/CitationCleanerBot 5
- 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
Speedily Approved.
Operator: Headbomb (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:38, Wednesday, May 13, 2020 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AWB
Source code available: find \| *\|
replace with |
in relevant templates
Function overview: Remove double / empty pipes in {{sfn}} and {{harv}}-like templates. Plus WP:GENFIXES.
Links to relevant discussions (where appropriate):
Edit period(s): One time big run, plus additional small runs as needed
Estimated number of pages affected: ~1000
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: The bot would do edits like this [1] and [2]
This would change, e.g.
{{sfn|Robert| |Couchy|1891}}
[which renders as Robert, & Couchy 1981]{{sfn| |New Castle News 1954}}
[which renders as & New Castle News 1954]
to
{{sfn|Robert|Couchy|1891}}
[which renders as Robert & Couchy 1981]{{sfn|New Castle News 1954}}
[which renders as New Castle News 1954]
Discussion
editAs far as I'm concerned, this is well tested and can be speedied. Headbomb {t · c · p · b} 18:43, 13 May 2020 (UTC)[reply]
Speedily Approved. Simple task, trusted operator. Primefac (talk) 19:29, 13 May 2020 (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.