→Discussion: Or 11.5K?
|
→Discussion: @Mathglot "[https://en.wikipedia.org/w/index.php?se..." [Factotum]
|
||
Line 40: | Line 40: | ||
::::::: Be aware that {{tl|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 [https://en.wikipedia.org/w/index.php?search=hastemplate%3A%22Talk+header%22+insource%3A%2F%5C%7C+%2A%28minthreadsleft%7Carchive_units%7Carchive_age%7Carchive_bot%7Cbot%7Cunits%7Cage%29+%2A%3D%2F+-hastemplate%3AArchives&title=Special:Search&profile=all&fulltext=1 more like 25k] excluding those, which presumably the bot code will do. [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 14:14, 9 June 2024 (UTC) |
::::::: Be aware that {{tl|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 [https://en.wikipedia.org/w/index.php?search=hastemplate%3A%22Talk+header%22+insource%3A%2F%5C%7C+%2A%28minthreadsleft%7Carchive_units%7Carchive_age%7Carchive_bot%7Cbot%7Cunits%7Cage%29+%2A%3D%2F+-hastemplate%3AArchives&title=Special:Search&profile=all&fulltext=1 more like 25k] excluding those, which presumably the bot code will do. [[User:Mathglot|Mathglot]] ([[User talk: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. [https://en.wikipedia.org/w/index.php?search=hastemplate%3A%22Talk+header%22+insource%3A%2F%5C%7B%5C%7BTalk+header+%2A%5C%7C%2F+insource%3A%2F%28minthreadsleft%7Carchive_units%7Carchive_age%7Carchive_bot%7Cbot%7Cunits%7Cage%29+%2A%3D%2F+-hastemplate%3AArchives&title=Special:Search&profile=all&fulltext=1 This one] gives 11.5k, so maybe that's closer? [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 15:28, 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. [https://en.wikipedia.org/w/index.php?search=hastemplate%3A%22Talk+header%22+insource%3A%2F%5C%7B%5C%7BTalk+header+%2A%5C%7C%2F+insource%3A%2F%28minthreadsleft%7Carchive_units%7Carchive_age%7Carchive_bot%7Cbot%7Cunits%7Cage%29+%2A%3D%2F+-hastemplate%3AArchives&title=Special:Search&profile=all&fulltext=1 This one] gives 11.5k, so maybe that's closer? [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 15:28, 9 June 2024 (UTC) |
||
:::::::::[https://en.wikipedia.org/w/index.php?search=hastemplate%3A%22Talk+header%22+insource%3A%2F%5C%7B%5C%7BTalk+header+%2A%5C%7C%5B%5E%7D%5D%2A%28minthreadsleft%7Carchive_units%7Carchive_age%7Carchive_bot%7Cbot%7Cunits%7Cage%29+%2A%3D%2F&title=Special:Search&profile=all&fulltext=1 Or even less].<span id="Qwerfjkl:1717953970630:WikipediaFTTCLNBots/Requests_for_approval/Qwerfjkl_(bot)_30" class="FTTCmt"> — [[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 17:26, 9 June 2024 (UTC)</span> |
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.
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]