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 Bots/Noticeboard. The result of the discussion was

Qwerfjkl (bot) 30
Operator:

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

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

 * Consensus appears to exist for this, and the task is straightforward. – SD0001  (talk) 04:07, 6 June 2024 (UTC)
 * SD0001, See . 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. —  Qwerfjkl  talk  13:59, 6 June 2024 (UTC)
 * Noticed an issue, possibly related to leading blanks; see here. Mathglot (talk) 03:27, 7 June 2024 (UTC)
 * Mathglot, ah, I didn't realise any of the parameters that needed removing had aliases. Any others I need to watch out for? — Qwerfjkl  talk  07:11, 7 June 2024 (UTC)
 * Mathglot (talk) 18:25, 8 June 2024 (UTC)
 * Per this diff, all the params that start with the string  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)
 * Okay. @SD0001, more like 30,000 pages now. — Qwerfjkl  talk  10:35, 9 June 2024 (UTC)
 * Be aware that Archives is a different template that also has those same four params (well, the three aliases plus minthreads); see Template:Archives. So it's more like 25k excluding those, which presumably the bot code will do. Mathglot (talk) 14:14, 9 June 2024 (UTC)
 * 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)
 * Or even less. — Qwerfjkl  talk  17:26, 9 June 2024 (UTC)

Let's make sure the parameter alts are working as intended. Primefac (talk) 15:05, 27 June 2024 (UTC)
 * Primefac, See the latest 100 of these edits or  with a few intervening edits (because the edit summary search tool wasn't working for me). —  Qwerfjkl  talk  19:31, 27 June 2024 (UTC)
 * If there are any minor updates or tweaks that are needed, feel free to make them. Primefac (talk) 18:04, 5 July 2024 (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.