Wikipedia:Bots/Requests for approval/CitationCleanerBot 5

CitationCleanerBot 5

[[User:CitationCleanerBot|CitationCleanerBot 5]]

{{Newbot|CitationCleanerBot|5}}

Operator: {{botop|Headbomb}}

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 {{tl|sfn}} and {{tl|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 [https://en.wikipedia.org/w/index.php?title=Alexandre_Pierre_Freslon&diff=956503500&oldid=849362673] and [https://en.wikipedia.org/w/index.php?title=1954_Philadelphia_City_Council_special_election&diff=956504268&oldid=871238295]

This would change, e.g.

  • {{tlx|sfn|Robert| |Couchy|1891}} [which renders as Robert, & Couchy 1981]
  • {{tlx|sfn| |New Castle News 1954}} [which renders as & New Castle News 1954]

to

  • {{tlx|sfn|Robert|Couchy|1891}} [which renders as Robert & Couchy 1981]
  • {{tlx|sfn|New Castle News 1954}} [which renders as New Castle News 1954]

=Discussion=

As far as I'm concerned, this is well tested and can be speedied. Headbomb {t · c · p · b} 18:43, 13 May 2020 (UTC)

  • {{BotSpeedy}} Simple task, trusted operator. Primefac (talk) 19:29, 13 May 2020 (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.