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.

Operator: Pkbwcgs (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 13:05, Sunday, December 23, 2018 (UTC)

Function overview: The bot will fix CW Error #25 (Heading hierarchy) and CW Error #7 (Headings all start with three "=") using WPCleaner.

Automatic, Supervised, or Manual: Automatic

Programming language(s): WPCleaner

Source code available: WPCleaner

Links to relevant discussions (where appropriate):

Edit period(s): Three times a week (this will be done as an extension to task 1 but done on different days (Tuesday, Friday and Saturday))

Estimated number of pages affected: 200 at a time

Namespace(s): Mainspace

Exclusion compliant (Yes/No): Yes

Function details: I just noticed that I can fix error 25 automatically using WPCleaner. An example is here. The bot will also fix error 7 automatically using WPCleaner. An example is this. The bot will fix examples that violate WP:MOSHEAD. An example is shown below.
Before:
== Example ==
==== Example ====

After:
== Example ==
=== Example ===

Discussion[edit]

Approved for trial (50 edits or 14 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. be sure to include at least 20 examples of each, post diff range for trial review here when done. — xaosflux Talk 14:14, 23 December 2018 (UTC)[reply]
Purely hypothetical question, since I haven't done any of these edits myself: How will the bot know whether heading 2 followed by heading 4 should be changed to 2/3 or 3/4? – Jonesey95 (talk) 14:21, 23 December 2018 (UTC)[reply]
@Jonesey95: The WPCleaner bot tools script can determine this. I can show you once the run is done. @Xaosflux: Shall I do 25 examples of each so that it makes the fifty edits in total for the trial? Also, what do you mean by "14 days" for the trial? I can do the trial today. Pkbwcgs (talk) 16:39, 23 December 2018 (UTC)[reply]
25/25 is fine, I didn't know how many there were just wanted at least 20 of each, you can start anytime, just "expires" in 2 weeks in case you were busy. — xaosflux Talk 17:42, 23 December 2018 (UTC)[reply]
@Xaosflux: Trial complete. I am quite happy with the edits and I have absolutely no issues. The trial edits can be located here. The bot has done twenty five edits of each error and fifty edits in total. Pkbwcgs (talk) 18:33, 23 December 2018 (UTC)[reply]
 Approved. As a minor note, checking the edits made by this trial run turned up a lot of really bad pages that could stand to be cleaned up. Might be worth cross-posting some of the results to the DAB, AFC, NPP, and MOS pages. Primefac (talk) 18:58, 25 December 2018 (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.