Wikipedia:Bots/Requests for approval/BattyBot 65


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

BattyBot 65
Operator:

Time filed: 20:56, Monday, January 31, 2022 (UTC)

Function overview: Fix CS1 citation templates that have parameter values that contain extraneous trailing punctuation or a leading equals sign

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB

Links to relevant discussions (where appropriate): Category:CS1 maint: extra punctuation

Edit period(s): Daily

Estimated number of pages affected: 300 450

Namespace(s): Mainspace and draftspace

Exclusion compliant (Yes/No): Yes

Function details: Fix articles and drafts in Category:CS1 maint: extra punctuation by removing extraneous trailing punctuation or a leading equals sign from a parameter. Having a bot clean out the low hanging fruit will allow human editors to focus on the remaining cases, and possibly tweak the CS1 module. The bot will also apply AWB general fixes as needed.

I would be happy to run two trials: one for removing extraneous trailing punctuation (e.g. ) and one for removing a leading equals sign (e.g. ).

Thank you for your consideration. GoingBatty (talk) 20:56, 31 January 2022 (UTC)

Discussion
With just 300, I'd be inclined to do with manual oversight in AWB or JWB. If you skip the general fixes, you should be able to eyeball your changes and confirm at a rate of better than 30 per minute, so this is less than a 10-minute job, if you have a file list already (which I presume you have from the category you linked). I can do these for you in JWB if you point out your regex replace expressions. Dicklyon (talk) 18:37, 9 February 2022 (UTC)
 * Thanks for your comment. Yes, you or I could be a WP:MEATBOT to plow through this.  I like including the general fixes to maximize the amount of fixes included when the edit pops up on people's watchlist.  I don't have a file list - I was planning on having the bot plow through the category, which has blossomed to 455 pages.  The other benefit of bot approval would be permission to run this daily to keep the category effectively at zero (like I do for several other categories).  GoingBatty (talk) 23:46, 9 February 2022 (UTC)
 * Sounds good. Thanks for explaining. Dicklyon (talk) 07:46, 10 February 2022 (UTC)
 * Given that the category has well over 500 entries now, clearly this is an issue that will likely require bot intervention to stay on-top of. I'm not particularly bothered if it's not a perfect split, but please try do get about 25 of each type of replacement. Primefac (talk) 14:00, 13 February 2022 (UTC)
 * - see these 50 edits. The 25 older edits fix the trailing punctuation, and the 25 newer edits fix the leading equal sign.  Thanks!  GoingBatty (talk) 05:52, 14 February 2022 (UTC)
 * Haven't made it through everything but Special:Diff/1071750220 changes  to   which turns   into  . Similar issue with Special:Diff/1071750589. Primefac (talk) 13:51, 16 February 2022 (UTC)
 * Oddly enough, it fixed the HTML coding in Special:Diff/1071750863 and Special:Diff/1071751120. Primefac (talk) 13:59, 16 February 2022 (UTC)
 * Thanks for the feedback. I noticed that the bot was messing up trailing "&amp;#93;" entries, so I stopped it mid-run and added rules to deal with them properly.  (Same with "&amp;ndash;" and "&amp;#39;" and "&amp;#124;".) I apologize for missing some at the beginning of the run, and have manually fixed those articles you mentioned.  I would be happy to run another trial if you like.  Thanks!  GoingBatty (talk) 14:23, 16 February 2022 (UTC)

All ; please, the = looked fine. Primefac (talk) 14:54, 16 February 2022 (UTC)
 * - see these 50 edits.  was in error, as  was unexpected as a working citation template, so I fixed the article manually.  GoingBatty (talk) 15:54, 16 February 2022 (UTC)
 * Primefac (talk) 14:15, 27 February 2022 (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 Bots/Noticeboard.