Wikipedia:Bots/Requests for approval/WikiCleanerBot 20


 * 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

WikiCleanerBot 20
Operator:

Time filed: 09:54, Monday, August 17, 2020 (UTC)

Function overview: Fix references before punctuation

Automatic, Supervised, or Manual: Automatic.

Programming language(s): Java (WPCleaner)

Source code available: On GitHub (especially algorithm 61)

Links to relevant discussions (where appropriate): MOS:CITEPUNCT

Edit period(s): Twice a month

Estimated number of pages affected: Maybe around 100k for the first pass as (Reference before punctuation) currently contains 111198 pages. I will probably do the first pass in several runs as it's a big list.

Namespace(s): Main

Exclusion compliant (Yes/No): Yes

Function details: Fix reference before punctuation by moving the reference after the punctuation. Exceptions mentioned in MOS:CITEPUNCT (dashes, parenthesis) will be skipped. If several punctuation are present, it will also be skipped.

Discussion
to see exactly what that would entail and the sort of change it would make. Not keen on having 100,000+ changes for just that, but we'll see. &#32; Headbomb {t · c · p · b} 17:09, 20 August 2020 (UTC)
 * Thanks Headbomb. I've done the 25 edits, which were as expected.
 * Of course, it would run combined with the other approved tasks of my bot, but I'm not sure if there will be a lot of edits combining several fixes.
 * For your concern about the number of pages, edits could be done over a long period (like 10k a month => about a year for running the entire list) or progressively (ramp up). If it's not possible, as a last resort, I can include it only with other edits (like a cosmetic edit), but it would reduce massively the number of errors fixed. --NicoV (Talk on frwiki) 06:35, 1 September 2020 (UTC)
 * While not technically cosmetic, I do share some of Headbomb's concerns about the number of edits, and I appreciate you considering slowing things down a little. 10k edits a month amounts to about 300 edits per day, which isn't an unreasonable number. I think we can start there and if there are no major concerns or issues maybe increase that number as time passes. Primefac (talk) 18:54, 1 September 2020 (UTC)
 * EDIT: Thanks Primefac. I've improved my code to allow to specify a time limit for each bot task, and I set the time limit to 1h for the moment for this specific task (so that one run will yield a maximum of around 300 edits). --NicoV (Talk on frwiki) 08:14, 2 September 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.