Wikipedia:Bots/Requests for approval/SheepLinterBot 2


 * 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

SheepLinterBot 2
Operator:

Time filed: 15:29, Saturday, February 25, 2023 (UTC)

Function overview: Fix Linter errors in TWA pages

Automatic, Supervised, or Manual: supervised

Programming language(s): AWB

Source code available: User:SheepLinterBot/2

Links to relevant discussions (where appropriate): 1

Edit period(s): one-time run

Estimated number of pages affected: 35,158 33,641, 21,942 User and 13,216 11,699 User talk (note: some false positives) edited 20:49, 8 March 2023 (UTC) to remove false positives for user talk

Namespace(s): User/User talk

Exclusion compliant (Yes/No): no

Function details: (Originally planned for task 1 but was postponed to task 2.) Fixes linter errors (missing end tags/stripped tags) by removing the set of three div tags on the top of the page, then adding the set to the bottom of the page. This is moving the set. However, a large portion of the pages has more than one set of three div tags, which will create false positives. This is best done as supervised so that FPs can be discarded and no extra lint can be added.

Assume that User pages have 6 Linter errors and User talk pages have 7, this task will fix approximately 21,942 * 6 + 13,216 11,699 * 7 = 0  0 Linter errors.

Edit on February 28, 2023: The search mentioned above has false positives, so the bot may edit ~33-34k 32-33k pages or ~200k-210k  190-205k errors fixed. edited 20:49, 8 March 2023 (UTC)

Discussion
Can we please not approve more linter bots until Village pump (policy) is closed? * Pppery * it has begun... 16:36, 25 February 2023 (UTC)
 * Given the long timeline in bot approvals these days, I think it would be reasonable to begin a trial so that when the RFC is closed in a week or two, this BRFA has made some progress. – Jonesey95 (talk) 17:05, 25 February 2023 (UTC)
 * This task mainly deals with missing end tag and stripped tag errors, something which isn't covered by the RFC. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 17:40, 25 February 2023 (UTC)
 * Agree with the above. The RfC specifically asked two questions are deprecated HTML tags considered egregiously invalid? and should WP:COSMETICBOT be updated? both are unrelated to missing end tags or stripped tags. Gonnym (talk) 11:10, 26 February 2023 (UTC)
 * Agree. Not related to deprecated HTML tags. Afernand74 (talk) 11:31, 28 February 2023 (UTC)

Please run 50 in each affected namespace. Primefac (talk) 10:33, 8 March 2023 (UTC)
 * 50 edits for User and 50 for User talk. In the case that there is more than one set of three div tags, I remove the div tag changes other than the first. Sheep  (talk • he/him) 21:11, 8 March 2023 (UTC)
 * Primefac (talk) 13:41, 17 April 2023 (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.