Wikipedia:Bots/Requests for approval/WikiCleanerBot 24


 * 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

WikiCleanerBot 24
Operator:

Time filed: 13:37, Thursday, January 14, 2021 (UTC)

Function overview: Cleanup unnecessary nowiki tags between bold/italic, like  could be simply deleted (see for example 2005 European Rhythmic Gymnastics Championships).

Automatic, Supervised, or Manual: Automatic

Programming language(s): Java (WPCleaner)

Source code available: On GitHub (especially algorithm 565)

Links to relevant discussions (where appropriate):

Edit period(s): Twice a month

Estimated number of pages affected: A dump analysis returned 428 pages in CHECKWIKI/WPC 565 dump. So a few hundreds for the initial run, and probably only a few afterwards for each run.

Namespace(s): Mainspace and Files

Exclusion compliant (Yes/No):

Function details: It's just a bit of cleanup to remove unnecessary nowiki tags which make the wikitext more difficult to understand.

I performed the same kind of modifications on frWP (fr:Projet:Correction syntaxique/Analyse 565).

Discussion
Is this a wholly cosmetic change, or does it change something about the output visually or in markup? If the former, is this intended for run on CBD? ProcrastinatingReader (talk) 14:07, 14 January 2021 (UTC)
 * Hi ProcrastinatingReader. The resulting HTML will be different, for example on 2005 European Rhythmic Gymnastics Championships,  currenlty results in , and once fixed it will be simplified to  . So hopefully, it won't be considered wholly cosmetic. If not, I can add this task for CBD. In some situations, it can also lead to another fix performed by the bot, but I can't say how often it would happen. --NicoV (Talk on frwiki) 17:38, 14 January 2021 (UTC)

I looked through a few of these pages, and in general, it looks like removing tag+nowiki+tag is the right fix. Some of them will need additional cleanup after the edits are done. Would it be possible for the bot operator to provide a link to the bot's diffs after the initial set of edits? I don't think we will need a list for ongoing edits, since the tags will be new and less likely to be modified by subsequent human edits. Thanks. – Jonesey95 (talk) 16:22, 14 January 2021 (UTC)
 * Hi Jonesey95. Of course, I can provide the list of edits after the first run through the list. My bot currently won't fix all the pages, since it checks the number of apostrophes before and after (equal number or different by 1, number matching a bold, italic or bold+italic). --NicoV (Talk on frwiki) 17:38, 14 January 2021 (UTC)

Please run this independently of any other tasks. Primefac (talk) 23:21, 14 January 2021 (UTC)
 * I've done a first run with only 10 edits. My comments for the moment:
 * 18th Helpmann Awards and 62nd Filmfare Awards South required a manual edit afterwards: improvement on its way.
 * 1957 in comics: as requested, I didn't activate the other tasks. With the other tasks, the split link would have been reunited.
 * I'm looking on improving the fix when there's a different number of apostrophes before and after the tag: I will run the last 15 edits once it's done. --NicoV (Talk on frwiki) 09:47, 16 January 2021 (UTC)
 * Hi Primefac. I've done a second run with the last 15 edits. No problems seen. Additional cleanup may be useful on some articles, like here, but it's only additional cleanup.
 * --NicoV (Talk on frwiki) 16:54, 16 January 2021 (UTC)

As this task can result in non-cosmetic edits requiring human intervention, as discussed, it can be run as such. Primefac (talk) 16:18, 22 January 2021 (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.