Wikipedia:Bots/Requests for approval/WikiCleanerBot 19
- 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 Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: NicoV (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 08:30, Monday, July 6, 2020 (UTC)
Function overview: Fix some headings hierarchy issues (CW Error #7, CW Error #19, CW Error #25, CW Error #83)
Automatic, Supervised, or Manual: Automatic.
Programming language(s): Java (WPCleaner)
Source code available: On GitHub (especially algorithm 7, algorithm 19,
algorithm 25,
algorithm 83)
Links to relevant discussions (where appropriate):
Edit period(s): Twice a month
Estimated number of pages affected: A few thousand edits probably, as it will fix only a portion of the ten thousand errors currently reported: CW Error #7 (Headings all start with three "=": 2, 18), CW Error #19 (Heading starts with one "=": 418, 469), CW Error #25 (Heading hierarchy: 6299, 6287), CW Error #83 (Heading start with three "=" and later with level two: 3136, 3159). For each error, I've put both the errors reported by CheckWiki and by WPCleaner with a dump analysis: most problems are reported in both, hence the similar numbers.
Namespace(s): Main
Exclusion compliant (Yes/No): Yes
Function details: The idea is to fix headings hierarchy problems when a modification can be done without changing the headings relative organization. I've removed #19 from the list of fixes applied by the bot, there are too many situations where a human edit is required afterwards to have a clean heading hierarchy
Discussion
[edit]- Approved for trial (60 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Ideally, if possible, do 15 of each type, but if that's not reasonable/feasible, 60 total is fine. Primefac (talk) 20:52, 6 July 2020 (UTC)[reply]
- Thanks Primefac. I will post here the edits:
- 15 edits for CW#7
- Started with 4 edits for CW#19, but not happy with this modification. I will change how #19 is handled to avoid this case (only one level 1 title, with sub-titles), and redo a few edits.
- After modification of my code, 11 edits for CW#19, with 2 examples of how the new code handles the previous case, as suggested by Jerodlycett (1, 2). --NicoV (Talk on frwiki) 06:35, 10 July 2020 (UTC)[reply]
- I'm withdrawing #19 from the list of fixes I want to perform with my bot, there are too many cases where just increasing the title level is not enough. --NicoV (Talk on frwiki) 07:38, 10 July 2020 (UTC)[reply]
- 15 edits for CW#25
- 15 edits for CW#83
- --NicoV (Talk on frwiki) 19:43, 7 July 2020 (UTC)[reply]
- Thanks Primefac. Trial complete. I've done the requested edits, and decided to remove CW#19 from the scope, as it still needs too many human editing after. Edits for the other errors behaved as I expected. --NicoV (Talk on frwiki) 09:57, 10 July 2020 (UTC)[reply]
- Thanks Primefac. I will post here the edits:
Approved. Primefac (talk) 22:26, 2 August 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.