Wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 30
- 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: 20:51, Wednesday, June 5, 2024 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: PAWS
Function overview: Remove deprecated parameters from {{Talk header}}
Links to relevant discussions (where appropriate): Template talk:Talk header#how and when to drop the bot notice params
Edit period(s): one time run
Estimated number of pages affected: <26,387
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The bot will remove all instances of the parameters |archive_bot=
, |archive_age=
, |archive_units=
, |minthreadsleft=
from all occurences of {{Talk header}}.
The search may contain some false positives; the bot will skip those where it doesn't make any changes, of course.
Discussion
- Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Consensus appears to exist for this, and the task is straightforward. – SD0001 (talk) 04:07, 6 June 2024 (UTC)[reply]
- SD0001, Trial complete. See these 100 contributions. I did around a third on the user talk namespace because that's probably going to be the most contentious area; only something like 300 user talk pages actually need fixing. — Qwerfjkltalk 13:59, 6 June 2024 (UTC)[reply]
- Noticed an issue, possibly related to leading blanks; see here. Mathglot (talk) 03:27, 7 June 2024 (UTC)[reply]
- Mathglot, ah, I didn't realise any of the parameters that needed removing had aliases. Any others I need to watch out for? — Qwerfjkltalk 07:11, 7 June 2024 (UTC)[reply]
- Checking... Mathglot (talk) 18:25, 8 June 2024 (UTC)[reply]
- Per this diff, all the params that start with the string
archive_
have an alias without the prefix; thus the alias of|archive_bot=
is|bot=
, and so on. Param|minthreadsleft=
has no alias. Here are some examples. Mathglot (talk) 02:06, 9 June 2024 (UTC)[reply]- Okay. @SD0001, more like 30,000 pages now. — Qwerfjkltalk 10:35, 9 June 2024 (UTC)[reply]
- Be aware that {{Archives}} is a different template that also has those same four params (well, the three aliases plus minthreads); see Template:Archives#Alphabetically. So it's more like 25k excluding those, which presumably the bot code will do. Mathglot (talk) 14:14, 9 June 2024 (UTC)[reply]
- Actually, the 25k estimate is too hig, also, as that search is picking up plenty of articles like Talk:Ronald Reagan which have the talk header but no params at all. This one gives 11.5k, so maybe that's closer? Mathglot (talk) 15:28, 9 June 2024 (UTC)[reply]
- Be aware that {{Archives}} is a different template that also has those same four params (well, the three aliases plus minthreads); see Template:Archives#Alphabetically. So it's more like 25k excluding those, which presumably the bot code will do. Mathglot (talk) 14:14, 9 June 2024 (UTC)[reply]
- Okay. @SD0001, more like 30,000 pages now. — Qwerfjkltalk 10:35, 9 June 2024 (UTC)[reply]
- Mathglot, ah, I didn't realise any of the parameters that needed removing had aliases. Any others I need to watch out for? — Qwerfjkltalk 07:11, 7 June 2024 (UTC)[reply]
- Noticed an issue, possibly related to leading blanks; see here. Mathglot (talk) 03:27, 7 June 2024 (UTC)[reply]
- SD0001, Trial complete. See these 100 contributions. I did around a third on the user talk namespace because that's probably going to be the most contentious area; only something like 300 user talk pages actually need fixing. — Qwerfjkltalk 13:59, 6 June 2024 (UTC)[reply]
- Primefac, Trial complete. See the latest 100 of these edits or these 110 contributions with a few intervening edits (because the edit summary search tool wasn't working for me). — Qwerfjkltalk 19:31, 27 June 2024 (UTC)[reply]
- Approved. If there are any minor updates or tweaks that are needed, feel free to make them. Primefac (talk) 18:04, 5 July 2024 (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.