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 Wikipedia:Bots/Noticeboard. 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: Sheep8144402 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 15:29, Saturday, February 25, 2023 (UTC)
Function overview: Fix Linter errors in TWA pages
Automatic, Supervised, or Manual: supervised
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,15833,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 = 224,164 213,545 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
[edit]Can we please not approve more linter bots until Wikipedia:Village pump (policy)#RFC: Clarifications to WP:COSMETICBOT for fixing deprecated HTML tags is closed? * Pppery * it has begun... 16:36, 25 February 2023 (UTC)[reply]
- 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)[reply]
- 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)[reply]
- Agree with the above. The RfC specifically asked two questions
are deprecated HTML tags considered egregiously invalid?
andshould WP:COSMETICBOT be updated?
both are unrelated to missing end tags or stripped tags. Gonnym (talk) 11:10, 26 February 2023 (UTC)[reply]- Agree. Not related to deprecated HTML tags. Afernand74 (talk) 11:31, 28 February 2023 (UTC)[reply]
- Agree with the above. The RfC specifically asked two questions
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Please run 50 in each affected namespace. Primefac (talk) 10:33, 8 March 2023 (UTC)[reply]
- Trial complete. 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)[reply]
- Approved. Primefac (talk) 13:41, 17 April 2023 (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 Wikipedia:Bots/Noticeboard.