Wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 27
- 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.
Operator: Qwerfjkl (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:54, Tuesday, November 28, 2023 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: Pywikibot
Function overview: Fix a lint error.
Links to relevant discussions (where appropriate):
Edit period(s): one time run
Estimated number of pages affected: 93,500
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Using the query [1], the bot will use the regex (\| *quote *= *You may also wish to consider using a Wizard to help you create articles\. See the \[\[Wikipedia:Article wizard ?2\.0\|Article Wizard\]\]\.)'''''
→ $1
Discussion[edit]
Thanks for taking this on. If possible, you may want to have the bot check the page post-edit, but before saving, to ensure that there are no more Linter errors on the page. That appears to be the best practice for Lint-fixing bots; see loads of previous complaints about MalnadachBot's multiple visits to pages. Legobot, when it was doing Lint fixes, had this check in place. See also this search, which is similar text. I get about 125 additional pages, although the search times out. – Jonesey95 (talk) 17:43, 28 November 2023 (UTC)[reply]
- Edited to add: This one bot run has the potential to fix 5% (about 180,000) of all remaining Linter errors, according to the current count at firefly's table (3.6 million errors). – Jonesey95 (talk) 23:21, 29 November 2023 (UTC)[reply]
- Jonesey95, sorry, I meant to respond to this sooner. I don't think it will be practical to skip pages where there are further Linter errors. In my opinion it would be better to just clear these up in one go - there aren't that many large scale fixes like this one that we can do. — Qwerfjkltalk 17:28, 30 November 2023 (UTC)[reply]
Just to ask the dumb question, this task is simply removing '''''
from the affected pages? Primefac (talk) 12:45, 14 December 2023 (UTC)[reply]
- Yes, that is what is written above. – Jonesey95 (talk) 15:07, 14 December 2023 (UTC)[reply]
- Primefac, yes, using the regex in the function details. — Qwerfjkltalk 16:48, 14 December 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 16:52, 14 December 2023 (UTC)[reply]
- Primefac, Trial complete. See these 50 edits. — Qwerfjkltalk 17:52, 14 December 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.