Jump to content

Wikipedia:Bot requests

From Wikipedia, the free encyclopedia

This is a page for requesting tasks to be done by bots per the bot policy. This is an appropriate place to put ideas for uncontroversial bot tasks, to get early feedback on ideas for bot tasks (controversial or not), and to seek bot operators for bot tasks. Consensus-building discussions requiring large community input (such as request for comments) should normally be held at WP:VPPROP or other relevant pages (such as a WikiProject's talk page).

You can check the "Commonly Requested Bots" box above to see if a suitable bot already exists for the task you have in mind. If you have a question about a particular bot, contact the bot operator directly via their talk page or the bot's talk page. If a bot is acting improperly, follow the guidance outlined in WP:BOTISSUE. For broader issues and general discussion about bots, see the bot noticeboard.

Before making a request, please see the list of frequently denied bots, either because they are too complicated to program, or do not have consensus from the Wikipedia community. If you are requesting that a template (such as a WikiProject banner) is added to all pages in a particular category, please be careful to check the category tree for any unwanted subcategories. It is best to give a complete list of categories that should be worked through individually, rather than one category to be analyzed recursively (see example difference).

Alternatives to bot requests

Note to bot operators: The {{BOTREQ}} template can be used to give common responses, and make it easier to keep track of the task's current status. If you complete a request, note that you did with {{BOTREQ|done}}, and archive the request after a few days (WP:1CA is useful here).


Please add your bot requests to the bottom of this page.
Make a new request
# Bot request Status 💬 👥 🙋 Last editor 🕒 (UTC) 🤖 Last botop editor 🕒 (UTC)
1 Bot to remove template from articles it doesn't belong on? 4 4 Wikiwerner 2024-09-28 17:28 Primefac 2024-07-24 20:15
2 Removing redundant FURs on file pages 5 3 Wikiwerner 2024-09-28 17:28 Anomie 2024-08-09 14:15
3 Regularly removing coords missing if coordinates are present BRFA filed 11 2 Usernamekiran 2024-09-07 13:19 Usernamekiran 2024-09-07 13:19
4 de-AMP bot BRFA filed 13 7 Usernamekiran 2024-09-24 16:04 Usernamekiran 2024-09-24 16:04
5 Articles about years: redirects and categories BRFA filed 7 3 DreamRimmer 2024-09-16 01:18 DreamRimmer 2024-09-16 01:18
6 WikiProject ratings change BRFA filed 3 2 DreamRimmer 2024-09-15 11:43 DreamRimmer 2024-09-15 11:43
7 QIDs in Infobox person/Wikidata BRFA filed 11 4 Tom.Reding 2024-10-06 14:23 Tom.Reding 2024-10-06 14:23
8 Remove outdated "Image requested" templates 3 2 7804j 2024-09-21 11:26 DreamRimmer 2024-09-19 18:53
9 "Was" in TV articles 6 4 Pigsonthewing 2024-11-11 12:30 Primefac 2024-09-29 19:34
10 Films by director  done 9 4 Usernamekiran 2024-10-03 13:30 Usernamekiran 2024-10-03 13:30
11 altering certain tags on protected pages? 10 5 Primefac 2024-10-20 14:47 Primefac 2024-10-20 14:47
12 Request for Bot to Remove ARWU_NU Parameter from Articles Using Infobox US University Ranking Template 4 2 Primefac 2024-10-13 12:50 Primefac 2024-10-13 12:50
13 Removal of two external link templates per TfD result 6 4 Primefac 2024-10-14 13:48 Primefac 2024-10-14 13:48
14 Replace merged WikiProject template with parent project + parameter  Done 7 3 Primefac 2024-10-21 10:04 Primefac 2024-10-21 10:04
15 Bot Request to Add Vezina Trophy Winners Navbox to Relevant Player Pages 3 3 Primefac 2024-10-19 12:23 Primefac 2024-10-19 12:23
16 Replace standalone BLP templates  Done 7 3 MSGJ 2024-10-30 19:37 Tom.Reding 2024-10-29 16:04
17 Assess set index and WikiProject Lists based on category as lists 19 5 Mrfoogles 2024-11-06 16:17 Tom.Reding 2024-11-02 15:53
18 Request for WP:SCRIPTREQ 1 1 StefanSurrealsSummon 2024-11-08 18:27
19 LLM summary for laypersons to talk pages of overly technical articles? 10 7 Legoktm 2024-11-12 17:50 Legoktm 2024-11-12 17:50
20 Redirects with curly apostrophes 6 5 Pppery 2024-11-11 17:30 Primefac 2024-11-11 16:52
21 Bot for replacing/archiving 13,000 dead citations for New Zealand charts 1 1 Muhandes 2024-11-14 15:08 Muhandes 2024-11-14 15:08
Legend
  • In the last hour
  • In the last day
  • In the last week
  • In the last month
  • More than one month
Manual settings
When exceptions occur,
please check the setting first.



Bot to remove template from articles it doesn't belong on?

[edit]

It's a principle of navbox templates that their primary purpose is to link the specific things in the navbox to each other, and that if a page isn't linked inside the navbox then it shouldn't have that navbox on it — the purpose of a navbox is to provide two-way "X to Y and Y to X" navigation within a defined group, not to create an all-purpose portal into that group from all over God's green acre.

Accordingly, {{Film lists by country}} is for navigating between the base lists that are linked inside that template; although some countries have their base lists split up by decade or individual year due to a large number of films, those spinoff lists aren't linked in that template, which serves to navigate between the base lists and is not meant as "portal" to that set from other articles not linked back to in that set. However, some editors have been indiscriminately adding it to essentially every single list of films that has a country name in it at all regardless of whether it's warranted there or not.

For example, List of Canadian films of 2023 has justified navbox templates for {{2023 films}} and {{Cinema of Canada}}, because it's important for a reader to be able to one-click from there to equivalent sublists for the same year or the same country, such as List of American films of 2023 and List of Australian films of 2023 and List of Canadian films of 2024 — but a reader does not need to be able to one-click from List of Canadian films of 2023 to base lists like List of Azerbaijani films or List of Latvian films, so it doesn't need the "base lists" navbox on it alongside the other two navboxes.

Basically, the navbox should only be on pages that are also listed in the navbox, so that I can navigate in both directions. If I can click on a link in the navbox to navigate away from List of Canadian films of 2023, then once I'm on that other page I have to also be able to navigate my way back to List of Canadian films of 2023 by clicking on its link in the same navbox — and if it doesn't have a link inside that navbox, then it shouldn't have that navbox on it at all.

But on a list comparison in AWB, I found that the number of articles that the template is on without needing to be there is into the thousands, which is a much bigger job than I'm prepared to gnome my way through. So I wanted to ask if there's a bot that can go through all transclusions of {{Film lists by country}} (as well as the redirects from {{Filmsbycountry}} and {{Films by country}}) to remove that navbox from any article that isn't also a link inside the navbox? Bearcat (talk) 20:07, 24 July 2024 (UTC)[reply]

I'll have a think about this, but in the meantime posting [1] as the transclusion count and mismatch (looks like ~2k transclusions that aren't in the navbox itself). Primefac (talk) 20:15, 24 July 2024 (UTC)[reply]
Before blindly removing the template, you first need to check whether it actually links via a redirect (in which case the template needs to be updated) and whether the template should link to that article. For example a navbox template for Rivers in Foo should include a link to the Rivers in Foo/List of rivers in Foo/List of longest rivers in Foo/Rivers in Foo by discharge/etc article(s). Thryduulf (talk) 10:22, 3 August 2024 (UTC)[reply]
That can be checked by bot too. Wikiwerner (talk) 17:28, 28 September 2024 (UTC)[reply]

Removing redundant FURs on file pages

[edit]

Each uses of non-free files need a separate fair use rationale (FUR) which explains why the usage of the file in that article is according to the policy. When someone removes a file from a page the user very rarely also remove the FUR which then just stays there and collects dust and take up unnecessary space, leading to pages like File:SciFi channel.svg which has 11 FURs yet is only used on one page, hence 10 of the FURs need to be removed. Most cases would probably only remove one or two FURs though.

I hence request that a bot remove these unnecessary FURs. To not make it too complicated I suggest only removing the FURs using the template {{Non-free use rationale}} (or any redirect of it) or another template that transcludes it, for example {{Logo fur}}. I guess the bot would check the Article parameter and remove the template if the file isn't used there. Jonteemil (talk) 22:29, 7 August 2024 (UTC)[reply]

How would this requested bot avoid a scenario like this?
  1. Vandal removes an image as part of their vandalism.
  2. Bot removes the FUR.
  3. Vandal is reverted.
  4. Well-meaning editor removes the image again due to lack of a FUR.
It seems to me that human review may be useful to determine whether the FUR really is obsolete or the image really should be used in the article. Anomie 14:03, 9 August 2024 (UTC)[reply]
I mean it would be hard to avoid that but I guess it's no different from B-bot when it marks a file {{Di-orphaned non-free use}} after a vandal removed the file from a page. If human review is required then the human can simple remove the FUR themself. No need for a bot then. I think it would be worth having this as a task even if a small number of FURs are wrongly removed because of vandals. Jonteemil (talk) 20:26, 12 August 2024 (UTC)[reply]
One could create a report too, so that a human can check whether the FUR may be removed. Wikiwerner (talk) 17:28, 28 September 2024 (UTC)[reply]
P.S. Regarding that specific example, it looks like most went away when the channel changed logos. Some that kept the historical logo have switched to File:Sci Fi 2002.svg, which the one remaining use probably should do as well. And I have no idea what happened in Special:Diff/842057982. Anomie 14:15, 9 August 2024 (UTC)[reply]

Regularly removing coords missing if coordinates are present

[edit]

I've just gone through over 500 articles using AWB in order to remove the {{coords missing}} template from articles that do have coordinates (in the form of {{coord}}). Since this is a not-uncommon issue, it might be a good idea to have a bot do this every month or so, instead of needing an editor to go through it manually. Suntooooth, it/he (talk/contribs) 00:22, 5 September 2024 (UTC)[reply]

@Suntooooth: on it. —usernamekiran (talk) 12:04, 5 September 2024 (UTC)[reply]
@Suntooooth: Hi. In this edit you removed the "coords missing" template, but the articles infobox has {{coord|display=title,inline}}. shouldnt there be any value? would this be considered acceptable on a mass scale and/or by a bot? —usernamekiran (talk) 12:17, 5 September 2024 (UTC)[reply]
for this particular example, the co-ordinates are being pulled from wikidata. what if some other city/item on wikidata does not have co-ordinates, and an editor here adds {{coord|display=title,inline}}? —usernamekiran (talk) 12:25, 5 September 2024 (UTC)[reply]
My PetScan search was probably a bit flawed, I didn't realise there was an article in there that had the coords template but not any actual value on it (it's not a very common occurrence). I guess the bot should check that there's an actual value assigned to the coords template. Suntooooth, it/he (talk/contribs) 15:20, 5 September 2024 (UTC)[reply]
@Suntooooth: is there a possibility that your petscan as well received the coordinates value from the wikidata item? I can configure the bot to check that there's an actual value assigned to the coords template. But I do not know how to to check the wikidata (in case it has the coordinates like in the instance of Zeta Municipality). I wil look into that, and will let you know in couple of days. —usernamekiran (talk) 17:04, 5 September 2024 (UTC)[reply]
No, my petscan search just looked for articles in Category:Articles missing coordinates with coordinates on Wikidata that had a {{coord}} template somewhere on the page (query here). I don't quite understand why you have to see if there's coordinates on Wikidata (surely if there's a coords template without any number values, just leave that for manual review? There's not going to be many of those) but if that is required, User:Jeeputer/coordInserter's code might be useful. Suntooooth, it/he (talk/contribs) 17:12, 5 September 2024 (UTC
@Suntooooth: I mean, in the link I provided above, the coords template does not have any values, but that template is getting accurate coordinates values from wikidata. Under these circumstances, removal of coords missing was appropriate. In case the wikidata did not have the coordinates, then it should not have been removed. I am thinking about the bot's workflow as follows:
  1. go through articles, check for coord template.
  2. if coord template has values, remove the "missing" template, move on to next article.
  3. if coord template doesn't have values:
    1. go to wikidata, check coordinates values there.
    2. if values are missing, move on.
    3. if values are present, then remove the "missing" template, move on.
if we are going to make it run on a regular basis, then we should make the bot ready for as many scenarios as possible. —usernamekiran (talk) 17:38, 5 September 2024 (UTC)[reply]
maybe we can add one more function: if coordinates are present on wikidata, then add it to enwiki article? —usernamekiran (talk) 17:49, 5 September 2024 (UTC)[reply]
Up to you - it would make things a little less confusing in the future. Suntooooth, it/he (talk/contribs) 19:09, 5 September 2024 (UTC)[reply]
BRFA filed —usernamekiran (talk) 13:19, 7 September 2024 (UTC)[reply]

de-AMP bot

[edit]

{{resolved}} AMP url's are privacy-violating, among other concerns, and, imho and have little benefits to Wikipedia users.

I used https://www.amputatorbot.com to make this edit, for example, so I know it is at least doable. Would be cool if we can name it AmputatorBot but that needs owners permission. Osalbahr (talk) 21:56, 7 September 2024 (UTC)[reply]

Osalbahr, this is already being done by Wikipedia:Bots/Requests for approval/DoggoBot 10; see Wikipedia:Bot requests/Archive 84#Accelerated Mobile Pages link eradicator needed. — Qwerfjkltalk 09:43, 8 September 2024 (UTC)[reply]
Thank you, @Qwerfjkl! I agree, my request is redundant and is already part of Wikipedia:Bots/Requests_for_approval/DoggoBot_10. Should I delete this section or keep it? You are also free to delete it if you want. Osalbahr (talk) 00:45, 9 September 2024 (UTC)[reply]
Generally speaking, one should not remove talk page discussions that are resolved. Here, I have tagged the discussion with {{resolved}} to indicate that it has reached a conclusion. Using {{atop}}/{{abot}} is also another option. Primefac (talk) 16:01, 9 September 2024 (UTC)[reply]
Well, that BRFA is 1.5 years old. At this point, this task should be considered up for grabs if any botop is interested. – SD0001 (talk) 14:44, 20 September 2024 (UTC)[reply]
@SD0001: I'm interested, but I think we should notify Frostly —usernamekiran (talk) 20:36, 20 September 2024 (UTC)[reply]
I had a conversation with the owner of the AmputatorBot API a few days ago. They aren't accepting public requests at the moment, which is causing rate limit issues for everyone, but they are ready to add our user-agent to the allowlist. – DreamRimmer (talk) 01:30, 21 September 2024 (UTC)[reply]
Given that the AmputatorBot API is open source, why not have a version hosted on Toolforge? – robertsky (talk) 08:44, 21 September 2024 (UTC)[reply]
I went through their code at github. most of the functions of the bot are not necessary for an enwiki bot. the only one function seemed to be useful, but not important. In short, botop has created a database of thousands of AMP links and their canonical URLs for caching and faster performance. In our case that seems unnecessary too, as it would consume resources, and maintaining it would be another thing. I have come up with a rudimentary script. Is there any (maintenance/hidden) category where we can get articles with AMP links? —usernamekiran (talk) 13:27, 21 September 2024 (UTC)[reply]
You might need to request the maintenance category to be added through the citation templates? WT:CS1 – robertsky (talk) 14:23, 21 September 2024 (UTC)[reply]
You can test your script on this list; all these pages include AMP urls. – DreamRimmer (talk) 15:47, 21 September 2024 (UTC)[reply]
@DreamRimmer: thanks. —usernamekiran (talk) 15:51, 24 September 2024 (UTC)[reply]

Articles about years: redirects and categories

[edit]

For each AD year where we have an article named in the format AD 99, please create redirects from (e.g.) AD99, 99 AD and 99AD, if no such article or redirect already exists.

To each of those articles (not redirects) please apply Category:Years AD.

For each BC year where we have an article named in the format 100 BC, please create redirects from (e.g.) 100BC, BC100 and BC 100, if no such article or redirect already exists.

(BC years seem to be adequately categorised already). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:55, 14 September 2024 (UTC)[reply]

Sure! I'll take a look at this. Rusty 🐈 14:08, 14 September 2024 (UTC)[reply]
Rusty Cat, are you planning to do this task? – DreamRimmer (talk) 18:40, 14 September 2024 (UTC)[reply]
@DreamRimmer: Yes. Rusty 🐈 18:50, 14 September 2024 (UTC)[reply]
Pigsonthewing, can you please provide more information about this task? Are only the years that have AD and BC in the title included, or are other AD and BC years that do not have these in the title also included? I see you mentioned formats, but I just want to confirm. – DreamRimmer (talk) 16:50, 14 September 2024 (UTC)[reply]
The request was as stated, but if someone wants to do the same for years in formats like 1918 I've no objection. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:56, 14 September 2024 (UTC)[reply]
BRFA filed by Rusty CatDreamRimmer (talk) 01:18, 16 September 2024 (UTC)[reply]

WikiProject ratings change

[edit]

User:WP 1.0 bot/Tables/Project/Medicine says that there are 442 "mid-priority" and 816 "low-priority" redirects in Category:Redirect-Class medicine articles. All redirects for Template:WikiProject Medicine should be tagged as "NA" priority per Wikipedia:WikiProject Medicine/Assessment#Quality assessment. It used to be automatic, but apparently the template behavior has changed since then, possibly when they started autodetecting redirects. Could someone send a bot through to correct these? WhatamIdoing (talk) 02:14, 15 September 2024 (UTC)[reply]

Doing...DreamRimmer (talk) 02:43, 15 September 2024 (UTC)[reply]
@WhatamIdoing, BRFA filedDreamRimmer (talk) 11:43, 15 September 2024 (UTC)[reply]

QIDs in Infobox person/Wikidata

[edit]

For each entry in Category:Infobox person Wikidata using qid, please:

  1. Check that the |qid= value matches the QID of the article's matched Wikidata item
  2. if so, delete the entire |qid= line, as in this edit
  3. Add a note of any that do not match to a log page (the talk page of the category should be fine) for manual checking and resolution.

It's possible that this might be required to be re-run on a regular basis, and could be added to a scheduled cleanup task. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:18, 15 September 2024 (UTC)[reply]

@Pigsonthewing: Hi. I already have a code which can perform the first two steps (for the task described in the thread above "Regularly removing coords missing if coordinates are present"). Can you give me an example wording) of the line that you are expecting for the third step? —usernamekiran (talk) 20:27, 15 September 2024 (UTC)[reply]
Thank you. A simple list of links to the articles, under the heading "QID in template does not match Wikidata" would be fine. OTOH, if you want to make a separate edit for each occurrence, then a link to the article followed by "QID in template does not match Wikidata". Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:12, 16 September 2024 (UTC)[reply]
@Andy actually, only the removal of QID line would fall under WP:COSMETICBOT. We can create a list of mismatches like you suggested on the category talkpage, or some new/dedicated WP page. The ones that have correct QID can be removed with AWB if some other changes are made as well. So we will have to create two separate lists (on the same page, or separate). Let me know what you think. —usernamekiran (talk) 17:02, 16 September 2024 (UTC)[reply]
It is not "cosmetic": it prevents the link breaking if the article is subsequently found to be more correctly associated with another item. As such, it satisfies the "administration of the encyclopedia" criterion. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:13, 16 September 2024 (UTC)[reply]
usernamekiran: Making a corrective edit that removes a maintenance category is not a cosmetic edit. There is at least one approved bot that removes unsupported infobox template parameters (which do not render anything in the infobox) that emit a maintenance category. – Jonesey95 (talk) 10:31, 17 September 2024 (UTC)[reply]

Remove outdated "Image requested" templates

[edit]

There are currently over 170k pages that have the image requested template on their Talk page, and 106k pages with the photo requested template. However, from a quick sampling, most of them are outdated as the image was added in the meantime but the template not removed. This high ratio of false positive means that the template cannot be effectively used by volunteers to identify pages that actually require an image.

Sometimes, the request is very specific, such as in El Paso County, Texas, where the template asks specifically for a photo of "The El Paso County Courthouse" (using the "of" parameter). However, most templates only specify a vague location (using the "in" parameter), or no details at all.

While this issue cannot be solved entirely with a bot, I expect a bot could handle >80% of the cases, and then categorize the remaining 20% to make human review easier. I don't know how difficult it is to implement and what approvals would be required, but I think the following logic could be useful:

1) Remove the template from all pages that already have an image and whose template either specify no parameter, or specify only the "in" parameter. I expect this would not lead to many false negatives, but options could include excluding templates that were either recently added, or that were added after the image was added.

2) For the remaining articles (that don't meet the "in" parameter restriction), generate a list of all pages with such a template and where the article has an image, for human reviewers to go through.

On 2), I actually manage a non-profit (OKA) who would be able to help with the manual review process, but we wouldn't be able to manually go through over 200k pages hence we'd need to trim that down with a bit first. 7804j (talk) 18:30, 19 September 2024 (UTC)[reply]

There are many WikiProject templates on talk pages that have needs-image parameter, and in many articles, it is set to yes even though the article already has an image. For instance, the B virus article has images, but on its talk page, three WikiProject templates have the needs-image parameter set to yes. – DreamRimmer (talk) 18:53, 19 September 2024 (UTC)[reply]
Are you saying that this bot would potentially need to also expand its scope to other templates, such as the ones you mentioned? If yes, I agree that this bot could also help resolve these following the same logic. I expect that the "needs-image" parameter in most cases was added before the article received an image, and not removed afterwards 7804j (talk) 11:26, 21 September 2024 (UTC)[reply]

"Was" in TV articles

[edit]

I'm still finding a lot of TV show articles following the format "Name of show was" even though MOS:TV has dictated "Name of show is" for ages. Could a bot be made that can find cases where "was" is still being used? Ten Pound Hammer(What did I screw up now?) 19:13, 28 September 2024 (UTC)[reply]

@TenPoundHammer: in theory, yes. A lot of variations of the sentence would have to be considered, but it is possible. A few rare false positives may occur if the show's name was changed. This would make it borderline WP:CONTEXTBOT though. But if we make the bot good enough, then we may be able to run it. —usernamekiran (talk) 21:07, 28 September 2024 (UTC)[reply]
I have context concerns as well. This might be better for a database report, if only to see the scale/scope of the issue. Primefac (talk) 13:40, 29 September 2024 (UTC)[reply]
@Primefac: can we do that then? Ten Pound Hammer(What did I screw up now?) 18:02, 29 September 2024 (UTC)[reply]
I mean, I am not personally going to do it, but "we" as a whole/community can certainly do that. Primefac (talk) 19:34, 29 September 2024 (UTC)[reply]
Sounds like a job for WP:AWB, where each change can be verified by a human before it is made. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:30, 11 November 2024 (UTC)[reply]

Films by director

[edit]

There was formerly a consensus that Category:Films by director had to be all-inclusive, such that it had to directly contain every "Films by [Specific Director]" category even if it was already otherwise in subcategories by director nationality or film genre. Due to the sheer daunting size of the category, however, that's since been deprecated, but there's been only minimal effort expended on actually cleaning it up — somebody else already emptied out A and B (and, partially but not completely, C), while I voluntarily went through the Canadian categories (as my own primary area of expertise) and a few other countries (Argentina, Brazil, Chile, Finland, Iceland, Syria) with a small and manageable number of director categories to sweep through as an AWB batch, but I'd be at it for days and days if I tried to tackle countries like France, Italy, Japan, India, Britain, Germany or the United States, with hundreds or thousands of director categories, myself.

So I wanted to ask if there's a bot that could be programmed to go through the Category:Films by director nationality subcategory (not the main category, as there may be a few directors in there whose categories aren't otherwise in a nationality subcat) to remove Category:Films by director from the categories that are already under the nationality category. Thanks. Bearcat (talk) 17:24, 2 October 2024 (UTC)[reply]

@Bearcat: I did not understand your request exactly. But I had run a similar task (I think) for KiranBOT task 7. Would you kindly share 3-4 diffs? —usernamekiran (talk) 19:04, 2 October 2024 (UTC)[reply]
Diffs of what? I'm asking for bot help in removing extraneous duplicate categorization, what's there to show diffs of? Bearcat (talk) 00:07, 3 October 2024 (UTC)[reply]
@Bearcat: Hi. I meant something like this, and that. But Tom has handled all the categories now. —usernamekiran (talk) 13:30, 3 October 2024 (UTC)[reply]
This can easily be done with WP:Cat-a-lot, with only up to ~120 followup edits, depending on how careful you want to be, since the overlap is ~98%.   ~ Tom.Reding (talkdgaf)  19:29, 2 October 2024 (UTC)[reply]
According to Cat-a-lot I already have the gadget installed, yet absolutely none of the followup steps listed on that page are showing me any evidence whatsoever that I have it installed — the "post-it window" that I'm supposed to see if I have it installed isn't there. That said, I see that it's already been done, because the only stuff left in the parent category anymore is the stuff that's only in the parent category and would thus have to have been manually corrected anyway, so thanks to whoever looked after that — but I still could never have done it by myself, because Catalot isn't working for me the way it's supposedly meant to. Bearcat (talk) 00:07, 3 October 2024 (UTC)[reply]
You're not missing much... It took longer than expected to use & wasn't reliable, only processing 140~150 cats at a time, randomly out of my selection of 190~200 each time. Carefully deselecting cats that should stay in Category:Films by director, sometimes up to a dozen times, became too tedious so I just bulk moved 200 150 at a time and put back what needed to be put back afterwards. At any rate...  done!   ~ Tom.Reding (talkdgaf)  00:32, 3 October 2024 (UTC)[reply]
Also, {{Category works by person}} will need tweaking to remove Films directed by Peter Ramsey.   ~ Tom.Reding (talkdgaf)  00:37, 3 October 2024 (UTC)[reply]
The template does not need tweaking. The doc explains that if you want a nationality sub-category, then just use the parameter. Gonnym (talk) 11:07, 3 October 2024 (UTC)[reply]

altering certain tags on protected pages?

[edit]

I recently read a comment from someone regarding them seeing the {{expand}} tag in an article, and wanting to go ahead and work on the section, only to discover that it was protected and they could not do so. Their feeling, which is understandable, is that it was discouraging to reply to a request for help, only to find that their help was not welcome. There is of course usually a lock icon on the page but not everyone knows to look for that or what it means.

I note that User:MusikBot II removes templates from pages where protection has just expired, and is an adminbot and can therefore also edit protected pages. I'm curious if it seems feasible/wise to have it (or some other bot) make some sort of modification to the expand template, and perhaps other similar templates, to reflect the current protection level and suggest using the talk page to propose edits? And of course it would undo those edits upon the expiration of protection. (as always with the caveat that I know nothing about bot coding) Pinging @MusikAnimal: as bot maintainer, but any and all feedback is of course welcome. Just Step Sideways from this world ..... today 22:25, 6 October 2024 (UTC)[reply]

@Just Step Sideways: Another way would be to have the {{expand}} tag automatically detect the protection level (which I know is possible, but I wouldn't know how to implement it) and alter its message. Rusty 🐈 22:37, 6 October 2024 (UTC)[reply]
Yes, altering the template would be better; templates like {{rcat shell}} already have this functionality using magic words. I'll paste the relevant code below if someone wants to sandbox something. Obviously it will be different to make it inline but the general gist of using the #switch will be the same. For example, a #switch in {{Expand section}} could change the text from "You can help by adding to it" to "You can make an edit request to improve it". Primefac (talk) 10:30, 7 October 2024 (UTC)[reply]
{{if IP}}, {{if autoconfirmed}}, and {{if extended confirmed}} should also be useful here. jlwoodwa (talk) 03:36, 14 October 2024 (UTC)[reply]
PROTECTIONLEVEL code
{{#switch: {{PROTECTIONLEVEL:edit}}
   |sysop={{pp-protected|small=yes}}{{R fully-protected|embed=yes}}
   |templateeditor={{pp-protected|small=yes}}{{R template protected|embed=yes}}
   |extendedconfirmed={{pp-protected|small=yes}}{{R extended-protected|embed=yes}}
   |autoconfirmed={{pp-protected|small=yes}}{{R semi-protected|embed=yes}}
   | <!--Not protected, or only semi-move-protected-->
}}
I agree automating this without the bot is preferable. The bot can and does add protection templates to pages like this, but I believe it didn't here because this template was protected long before the bot was introduced. MusikAnimal talk 15:35, 7 October 2024 (UTC)[reply]

Request for Bot to Remove ARWU_NU Parameter from Articles Using Infobox US University Ranking Template

[edit]
Not an issue for Bot requests. Referred elsewhere
 – More appropriate for WP:AWB/TASKS due to small size.

Hello! I would like to request a bot to assist with removing the `ARWU_NU` parameter from articles using the **Infobox US university ranking** template. This parameter is now deprecated and is causing undefined reference errors across many articles, particularly for universities in North America.

The bot should:

1. Search for instances of the `ARWU_NU` parameter within articles that use the **Infobox US university ranking** template.

2. Remove the line where `ARWU_NU` appears, which is typically formatted like this with a number following:

| ARWU_NU = [ranking number]

or

| ARWU_NU = 1

This cleanup is needed across many pages, and automating the process would greatly reduce the time required to fix this issue manually.

Thank you for your help, and please let me know if further clarification is needed! Mikecurry1 (talk) 20:51, 11 October 2024 (UTC)[reply]

Was there consensus for this removal? If so we can set up a tracking category and I can probably deal with this. I will also note mikeblas seems to have fixed the reference errors. Primefac (talk) 21:01, 11 October 2024 (UTC)[reply]
Yes, there was a consensus between two editors on this issue, and it was raised independently by both as a concern with the template over several years. There were no opposing votes. The core issue is that the ARWU_NU parameter reflects a refractory ranking, which is not considered a legitimate or widely accepted metric. Of the big three global rankings—THE, QS, and ARWU—only ARWU uses a refractory ranking, which is less reliable for North American universities. If all three rankings included a refractory ranking, it could make more sense to include it. However, with only ARWU listing a refractory ranking, such rankings are generally discouraged under Wikipedia policy.
This issue has persisted for several years and was discussed twice during that time, both times with a consensus to remove the parameter. Given the lack of objections and the support of both editors, we both believe removing it is the right approach, especially to avoid listing only one refractory ranking while excluding the others.
Thank you again for your assistance with this matter! Mikecurry1 (talk) 21:21, 11 October 2024 (UTC)[reply]
Tracking cat only shows about 200 pages; too small for a bot run, so I've cross-posted at AWB to get assistance. Primefac (talk) 12:50, 13 October 2024 (UTC)[reply]
[edit]

Template:Curlie and Template:FootballDatabase.eu should both be removed from articles per their TfDs. Since they both have over 5k transclusions, the removal is more suited to a bot. Any help is appreciated. Gonnym (talk) 09:10, 14 October 2024 (UTC)[reply]

I will file a BRFA soon. – DreamRimmer (talk) 09:36, 14 October 2024 (UTC)[reply]
Wikipedia:Templates for discussion/Holding cell#Tools lists several bots that are already approved for implementing TFD results. Anomie 11:17, 14 October 2024 (UTC)[reply]
Since Template:Curlie was almost a month listed with no progress, I took it as a sign that the bot operator's had other things they were doing. Gonnym (talk) 11:22, 14 October 2024 (UTC)[reply]
If any approved bot wants to handle this, that's fine with me. If they don't have the time, I am happy to help. Let's wait a few more hours. – DreamRimmer (talk) 11:47, 14 October 2024 (UTC)[reply]
I can probably handle it, TFDH has been on my rotation of things to get to but I had an even larger backlog of perm pages to deal with this weekend so I couldn't manage it then. Primefac (talk) 13:48, 14 October 2024 (UTC)[reply]

Replace merged WikiProject template with parent project + parameter

[edit]

WikiProject Reference works has been merged as a task force of WikiProject books. The referencework= parameter has been added to the Template:WikiProject Books banner template to indicate if it applies to the task force, so now all usages of the former Template:WikiProject Reference works need to be replaced with the books template with the task force parameter. When something similar was done with a previous project, it was done by bot (though I forgot what bot), could this be done again? Or is there another efficient way to do this? Also, there will be some duplicates, since some are tagged with both. The books project doesn't use importance and many articles tagged with ref works don't have it so the importance parameter on the old banner should be discarded not transferred. Thanks! PARAKANYAA (talk) 16:58, 16 October 2024 (UTC)[reply]

I can help with this. – DreamRimmer (talk) 14:09, 17 October 2024 (UTC)[reply]
Same; my bot is set up to handle these, and I thought it was TheSandBot that actually had a specific task for this but maybe it was actually Kiranbot... Looks like ~1500 pages where it will need to be folded into the Books banner, after which it can just be converted into a wrapper and autosubst by AnomieBOT. Primefac (talk) 16:00, 17 October 2024 (UTC)[reply]
Thanks for the info. Please feel free to handle this. As there wasn't a response in a reasonable time, I thought I should step in to help. – DreamRimmer (talk) 16:29, 17 October 2024 (UTC)[reply]
@Primefac Your bot did the job perfectly, thank you! Sorry for the annoyance, but could you do the same with another merged-into-task force project? WP:TERROR was mostly inactive, and the very few active editors reached a consensus to merge, see this discussion. {{WikiProject Terrorism}} should be folded into the
{{WikiProject Crime and Criminal Biography}} banner (I added the task force and importance parameters to the crime banner). WP:TERROR has importance parameters, but the attention= and infobox= parameters were never maintained and most of the articles tagged with them have had their issues addressed so those can probably be discarded as the crime banner doesn't have them. I promise this is the last one hahaha. PARAKANYAA (talk) 19:46, 19 October 2024 (UTC)[reply]
I'll put it on my list. Primefac (talk) 20:58, 19 October 2024 (UTC)[reply]
 Done. Primefac (talk) 10:04, 21 October 2024 (UTC)[reply]

Bot Request to Add Vezina Trophy Winners Navbox to Relevant Player Pages

[edit]

I would like to request a bot to automatically add the {{Vezina Trophy Winners}} template to all player pages that are currently listed in the Category:Vezina Trophy winners.


The template is already created and can be found at: Template:Vezina Trophy Winners.


Details:


1. The bot should check all pages within Category:Vezina Trophy winners.

2. For each page, if the {{Vezina Trophy Winners}} template is not already present, the bot should add it to the bottom of the page.

3. The template should be placed in the Navboxes section (before any categories or external links) on each player’s page.


Rationale:

This will ensure consistency and streamline the process of displaying the relevant information across all Vezina Trophy winners’ pages without having to manually add the template to each page. This will also make it easier to update the navbox in the future without needing to edit each individual page.


Please let me know if more information or clarification is needed. Thank you! 108.51.96.36 (talk) 23:46, 18 October 2024 (UTC)[reply]

Replace standalone BLP templates

[edit]

The templates {{BLP}}, {{BLP others}} and {{Active politician}} should not be called directly, but are triggered via the banner shell template in the following ways:

This is a request for the standalone templates to be replaced by the parameter in {{WikiProject banner shell}}. Example: [2]. If the parameter is already present, then the template can simply be removed. Pages can be tracked in Category:Talk pages using standalone BLP templates (0). Thank you — Martin (MSGJ · talk) 12:59, 25 October 2024 (UTC)[reply]

I can help with this. – DreamRimmer (talk) 15:11, 25 October 2024 (UTC)[reply]
I already have some of the code to do this safely. Less than 1k pages so far so it shouldn't cause much fuss. Anyone doing this needs to be mindful of the activepol > yes > other > no priority.   ~ Tom.Reding (talkdgaf)  20:25, 25 October 2024 (UTC)[reply]
@Tom.Reding, please feel free to take on this task if you already have the code available. – DreamRimmer (talk) 09:29, 26 October 2024 (UTC)[reply]
 Done. Remaining 83 pages need manual attention: BLP/blp, BLP/blpo, BLPO/blp conflicts/mismatches, archives, stray text in one of the templates, etc. Will check periodically for a few days to see if any more pages filter in.   ~ Tom.Reding (talkdgaf)  16:04, 29 October 2024 (UTC)[reply]
Great, thank you. I'll look through the 0 ... — Martin (MSGJ · talk) 09:47, 30 October 2024 (UTC)[reply]
@Tom.Reding  Done — Martin (MSGJ · talk) 19:37, 30 October 2024 (UTC)[reply]

Assess set index and WikiProject Lists based on category as lists

[edit]

I was trying to assess some of the articles in WikiProject Chemicals, because I noticed there were only 400 chemicals articles that weren't assessed, and I noticed that most of the unassessed ones are just set index articles (there are a lot of these for ambiguous chemical names) for which no one had set the assessment to lists.

It seems to me like this wouldn't be that complicated to do with a bot: detecting templates in articles might be somewhat difficult due to the need for parsing due to the existence of nowiki brackets, but it could also be done by just assessing every page in the categories, Category:All set index articles and Category:WikiProject Lists articles as List-class. The "All set index articles" also includes a bunch of surname articles, but the templates listed all say in strong language that they are only to be used on set index articles, so I think it's fine.

Alternatively, all the various sub-categories of Category:Set index articles could also be included but that would probably be laborious.

Anyway, if this got done, it would eliminate most of the WikiProject Chemicals unassessed articles, and likely a significant number in other projects as well. There's ~3,000 unassessed list articles and at the least a few hundred unassessed set index articles, but probably more. Mrfoogles (talk) 17:41, 28 October 2024 (UTC)[reply]

AWB would probably be better for this given the relatively low number of pages; if you don't have access or don't want to deal with it yourself, feel free to ask at WP:AWB/TASKS. Primefac (talk) 18:19, 28 October 2024 (UTC)[reply]
Didn't think 3,000 was low; I'll ask there. Doesn't that require someone to click through 3,000 times in order to update all the articles, though? I feel like it somewhat defeats the purpose of having a bot do it. I'm not sure how many set index articles are properly assessed but there are ~100,000 of them total, so if even 1 in 1000 are unassessed that leave 1,000 articles, and more otherwise. Mrfoogles (talk) 18:31, 28 October 2024 (UTC)[reply]
You said there were only 400 that weren't assessed, where did 3000 come from? Primefac (talk) 18:37, 28 October 2024 (UTC)[reply]
sigh ignore me. I somehow managed to only parse about half of your paragraph. Primefac (talk) 18:39, 28 October 2024 (UTC)[reply]
Ok, letting this request stand then. Mrfoogles (talk) 19:29, 28 October 2024 (UTC)[reply]
We can automatically assess SIAs as List-class if that works for every project. I did suggest this at Module talk:WikiProject banner once but didn't get much response. — Martin (MSGJ · talk) 09:46, 30 October 2024 (UTC)[reply]
That's probably easier than making 3k edits to talk pages. Primefac (talk) 09:58, 30 October 2024 (UTC)[reply]
Support this also. Wikipedia:Set index articles says in the first sentence A set index article (SIA) is a list article, so this is also supported by the guideline itself. Gonnym (talk) 10:18, 30 October 2024 (UTC)[reply]
So we have two ways of doing this: force all SIAs to have List-class (ignore any other value in |class=) or just default to List-class if |class= is blank/invalid — Martin (MSGJ · talk) 10:29, 30 October 2024 (UTC)[reply]
I'd say ignore |class= values for SIAs per Primefac & Gonnym. My guess is that any non-list |class= values are either mistakes or out of date.   ~ Tom.Reding (talkdgaf)  21:44, 31 October 2024 (UTC)[reply]
Some set index articles are classed as disambiguations, I think, so allowing other values would then require a large cleanup effort to fix those. I would say it's better not to. Mrfoogles (talk) 23:48, 31 October 2024 (UTC)[reply]
Is that classification intentional or accidental/stale? I have not dealt much with dabs/SIAs.   ~ Tom.Reding (talkdgaf)  15:53, 2 November 2024 (UTC)[reply]
Me neither but the pages I've read spell out pretty clearly that set index articles are supposed to be classed as lists: Wikipedia:Content_assessment explicitly says set index articles are supposed to be List-class. So I think the Disambig. class is incorrect (accidentally incorrect, probably), yeah. Mrfoogles (talk) 03:51, 3 November 2024 (UTC)[reply]
Linking Module_talk:WikiProject_banner/Archive_14#More page types for posterity. Looks like one person opposed it, but not very committedly, so it's probably fine. Wouldn't we want to change Module:Banner shell, though, or does the shell use the Wikiproject banner module? Mrfoogles (talk) 23:53, 31 October 2024 (UTC)[reply]
It looks like the process of these edit requests is to get a consensus for the change to be done among the people who have found the discussion, and then wait for someone with permissions who is interested to make the change. Discussion appears to have slowed and the general opinion is unclear, so I'm going to post a poll. Pinging all the people in the discussion thus far: @Primefac @MSGJ @Tom.Reding Mrfoogles (talk) 05:38, 6 November 2024 (UTC)[reply]
Support per nom Mrfoogles (talk) 05:38, 6 November 2024 (UTC)[reply]
From my point of view, there is consensus for this, but I need to find the time to write the code and test it — Martin (MSGJ · talk) 08:51, 6 November 2024 (UTC)[reply]
Oh, thanks. I wasn't trying to pressure anyone to respond quicker; I just wasn't sure what to do, so I figured I'd just put a poll to make consensus/no consensus clear and then let it be to see if anyone was interested in taking the request. It'll be interesting to see how many unassessed chemicals articles are left after the set indexes -- I wonder if it might be the first project to have all the articles rated. Mrfoogles (talk) 16:17, 6 November 2024 (UTC)[reply]

Request for WP:SCRIPTREQ

[edit]

Would like to attain WP:SCRIPTREQ bot's buildup code. StefanSurrealsSummon (talk) 18:27, 8 November 2024 (UTC)[reply]

LLM summary for laypersons to talk pages of overly technical articles?

[edit]

Today I was baffled by an article in Category:Wikipedia articles that are too technical which I was easily able to figure out after pasting the pertinent paragraphs into ChatGPT and asking it to explain it to me in layman's terms. So, that got me thinking, and looking through the category by popularity there are some pretty important articles getting a lot of views per day in there. So I thought, what about a bot which uses an LLM to create a layperson's summary of the article or tagged section, and posts it to the talk page for human editors to consider adding?

I think I can write it, I just want others' opinions and to find out if someone is trying or has already tried something like this yet. Mesopub (talk) 09:38, 10 November 2024 (UTC)[reply]

Considering past discussions of LLMs, and WP:LLMTALK, I doubt the community would go for this. If you really want to try, WP:Village pump (proposals) or WP:Village pump (idea lab) would be better places to seek consensus for the idea. Anomie 14:17, 10 November 2024 (UTC)[reply]
I don't think WP:LLMTALK necessarily applies here: that's about using chatbots to participate in discussions, which is utterly pointless and disruptive. The idea here seems to be using an LLM on a talkpage for a totally different purpose it's much more suited to. That said, I also doubt people will get on board with this.
Mesopub, having a quick look at your list, I think your target category Category:All articles that are too technical (3,403) is not a great choice: I see articles towards the top like Conor McGregor, Jackson 5, Malaysia, and Miami-Dade County, Florida. All of these are members of the target category due to transclusion {{technical inline}}, which produces [jargon].
All of these would easily be fixed by a simple rewording or explanation of a single term: none of the examples would benefit from an LLM summary.
I don't necessarily think the basic idea is terrible, which I've bolded for emphasis. We do have a lot of articles that are written at a level most appropriate to grad students or professionals in a niche scientific field. Of course, any LLM summary of these articles would have to be sanity-checked by a human who actually understands the article, to ensure the LLM summarises it without introducing errors.
For that reason I think that if you're convinced of the utility of this process, you should start very slow, select a small number of articles in different fields, post the LLM summaries with proper attribution in your userspace, and notify appropriate WikiProjects to see if anyone is interested in double checking them, or working to incorporate more accessible wording into the summarised articles. If no one has any interest, there's no realistic future for this. Folly Mox (talk) 15:28, 10 November 2024 (UTC)[reply]
Isn't the current consensus that we cannot allow AI-written text because of questionable copyright status? Primefac (talk) 17:02, 10 November 2024 (UTC)[reply]
There is no ban AFAIK, just that editors need to be careful and check the LLM didn't spit out copyrighted text back at them (or closely paraphrased, etc.). I think this is less of a risk with the proposed use case, which is taking existing Wikipedia text and cutting it down.
I agree with Folly Mox mostly, if you think this is going to be useful, try it on a very small scale and see how it goes. Legoktm (talk) 19:00, 10 November 2024 (UTC)[reply]
I'm not sure what formal consensus looks like on the LLM copyright issue. Wikipedia:Large language models § Copyright violations is pretty scant, and of course it's not policy. m:Wikilegal/Copyright Analysis of ChatGPT concludes in part with all possibilities remain open, as key cases about AI and copyright remain unresolved. The heftiest discussion I was able to find lazily is Wikipedia talk:Large language models/Archive 1 § Copyrights (January 2023); there is also this essay. Folly Mox (talk) 20:54, 10 November 2024 (UTC)[reply]
I kinda wonder how reliable LLMs are at simplifying content without making it misleading/wrong in the process. Jo-Jo Eumerus (talk) 09:30, 11 November 2024 (UTC)[reply]
They aren't. Even setting aside the resources they waste and the exploitative labor on which they rely, they're just not suited for the purpose. Asking editors with subject-matter expertise to "sanity check" their output is just a further demand on the time and energy of volunteers who are already stretched too thin. XOR'easter (talk) 22:37, 11 November 2024 (UTC)[reply]
Some examples: User:JPxG/LLM_demonstration#Plot_summary_condensation_(The_Seminar) and Wikipedia:Using_neural_network_language_models_on_Wikipedia/Transcripts#New York City. Legoktm (talk) 17:50, 12 November 2024 (UTC)[reply]
I'm sorry, but if you don't know the subject material, then you're not in a position to judge whether ChatGPT did a good job or not. XOR'easter (talk) 22:46, 11 November 2024 (UTC)[reply]

Redirects with curly apostrophes

[edit]

For every article with an apostrophe in the title (e.g. Piglet's Big Game, it strikes me it would be useful to have a bot create a redirect with a curly apostrophe (e.g. Piglet’s Big Game).

This could also be done for curly quotes.

Once done, this could be repeated on a scheduled basis for new articles. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:27, 11 November 2024 (UTC)[reply]

The justification for creating redirects with ASCII hyphen-minus to pages titled with en-dashes is that en-dashes are hard for people to type since they aren't on most keyboards. The opposite would be the case with curly quotes: straight quotes and apostrophes are on most people's keyboards while curly versions are not. This seems like another one that would be better proposed at WP:Village pump (proposals) to see if people actually want this.
Further complicating this is that the bot would need a reliable algorithm for deciding when to use versus . The general algorithm may need to be part of the community approval. Anomie 12:50, 11 November 2024 (UTC)[reply]
This probably isn't a useful thing to be doing; as Anomie says ' is almost often shown as ' during regular typing, and curly apostrophes are often Office-related auto-changes. I wouldn't necessarily be opposed to a bot fixing in-text curly apostrophes, but we shouldn't be proactively creating redirects. Primefac (talk) 13:03, 11 November 2024 (UTC)[reply]
I think straight versus curly for single and double quotes is mostly an OS thing. When I tap on the redlink Piglet’s Big Game and close out the editor, I get {{Did you mean box}} linking the valid title at the top of the page; if I search for the title with &fulltext=0 I'm redirected to the bluelink. The curly apostrophe also resolves to the straight apostrophe if typed into the search box.
Really, the piece missing here – if any – is automated fixing of redlinks with curly punctuation in the target.
User:Citation bot replaces curly apostrophes and double quotes with ASCII versions within citation template parameters, even though Module:CS1 renders them identically. Some user scripts are capable of doing a gsub over an entire article, like User:Novem Linguae/Scripts/DraftCleaner.js. (I know this isn't directly related to the OP, but tangentially related to the suggestion just above.)
I suppose the genesis of this request was this Help desk request? Folly Mox (talk) 15:15, 11 November 2024 (UTC)[reply]
I will also note that a curly quote is on the title blacklist, so it should be the case that we shouldn't even be accidentally creating these in the first place. Primefac (talk) 16:52, 11 November 2024 (UTC)[reply]
I added that to the blacklist because I was tired of articles being created with curly quotes and having to move them to the correct title, when that's almost never correct. The intend wasn't to block redirects with curly quotes.
Nevertheless, I oppose this because we already have a {{did you mean box}} warning for the situation, and that's sufficient.
Finally, if this is done, it definitely needs some logic to auto-retarget and G7 any redirects that have diverged from their sources, as AnomieBOT already does for dashes. * Pppery * it has begun... 17:30, 11 November 2024 (UTC)[reply]

Bot for replacing/archiving 13,000 dead citations for New Zealand charts

[edit]

Dead citations occur due to the website changing the URL format. For example https://nztop40.co.nz/chart/albums?chart=3467 is now https://aotearoamusiccharts.co.nz/archive/albums/1991-08-09.
Case 1: 9,025 pages that are using these URLs found through search. Some may already be archived.
Case 2: 4,133 citations using {{cite certification|region=New Zealand}} and {{Certification Table Entry|region=New Zealand}}, categorized Category:Cite certification used for New Zealand with missing archive (4,133).

An ideal transition seems difficult as it would require the following steps:

  1. Find an archived version through the wayback machine, e.g., https://web.archive.org/web/20240713231341/https://nztop40.co.nz/chart/albums?chart=3467 for the above. For case 2 this requires inferring the URL first (https://nztop40.co.nz/chart/{{#switch:{{{type|}}}|album={{#if:{{{domestic|}}}|nzalbums|albums}}|compilation=compilations|single={{#if:{{{domestic|}}}|nzsingles|singles}}}}?chart={{{id|}}}))
  2. Harvest the date 11 August 1991 either from the rendered archived page or from the archived page source, <p id="p_calendar_heading">11 August 1991</p>
  3. For case 1, translate the URL accordingly to https://aotearoamusiccharts.co.nz/archive/albums/1991-08-11.
  4. For case 2, add |source=newchart and replace |id=1991-08-11.

Note that for case 1, the word after "/archive/" changed according to the following incomplete table. For case 2 this is handled by the template so no need to worry about it.

Old text New text
albums albums
singles singles
nzalbums aotearoa-albums
nzsingles aotearoa-singles

If someone is willing to go through the above, at least for simple cases, I think it is the ideal solution, especially for case 2. Failing that, a simpler archiving procedure can be taken.

  • For case 1: add |archive-url= and |archive-date= per usual archiving procedure. Add |url-status=deviated. If no archive exists (which should be a minority), add {{dead link}}
  • For case 2: add |archive-url= and |archive-date= per usual archiving procedure as they are supported by the templates. Add |source=oldchart (even if no archive is found)

I will be happy to support any technical assistance. Muhandes (talk) 15:08, 14 November 2024 (UTC)[reply]