Template talk:Single chart
Add topic| This is the talk page for discussing improvements to the Single chart template. |
|
| Archives: 1, 2, 3, 4, 5, 6, 7Auto-archiving period: 3 months |
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
| ||||||||
Long term
Medium term
Short term
|
Canadian RPM templates need updated
[edit]For a while, bac-lac.gc.ca has been saying that they were transferring data from an old address to a new address, and it seems like they finally completed it, as the old website no longer loads . As a result, all the Canadian entries that link to RPM issues need to be updated. For example, the Top Singles chart of April 10, 1993, has been changed from:
https://www.bac-lac.gc.ca/eng/discover/films-videos-sound-recordings/rpm/Pages/image.aspx?Image=nlc008388.1781&URLjpg=http%3a%2f%2fwww.collectionscanada.gc.ca%2fobj%2f028020%2ff4%2fnlc008388.1781.gif&Ecopy=nlc008388.1781 (archive: )
to:
As you may have noticed, a new ID number has been added: 1093, while the former ID has also been changed. This new ID also appears to vary from page to page. However, when only the new ID is used in the URL, it redirects to the same page, with the old ID tacked on:
https://recherche-collection-search.bac-lac.gc.ca/eng/Home/Record?app=rpm&IdNumber=1093
If this is true, then all pages using the RPM-related templates will have to have their IDs updated too. ResPM (T🔈🎵C) 14:01, 21 July 2026 (UTC)
- Is there any way to automatically obtain a new ID if you know the old one? Or is a manual search on the new website the only option? Solidest (talk) 06:33, 23 July 2026 (UTC)
- @Solidest: It seems I mixed up the archive above, so it looks like as long as the old ID is known, it can be replaced with the new ID. So:
...Record?app=rpm&IdNumber=1093&ecopy=nlc008388.1781
1781 → 1093
- I've looked through several issues over the years and it looks like most of the old IDs can be changed to the new IDs. ResPM (T🔈🎵C) 11:59, 23 July 2026 (UTC)
- The old link format is:
{{single chart|Canadatopsingles|2|chartid=2319|rowheader=true|access-date=May 14, 2020}}↓https://www.bac-lac.gc.ca/eng/discover/films-videos-sound-recordings/rpm/Pages/image.aspx?Image=nlc008388.2319&URLjpg=http%3a%2f%2fwww.collectionscanada.gc.ca%2fobj%2f028020%2ff4%2fnlc008388.2319.gif&Ecopy=nlc008388.2319How do we get a new ID from here? Solidest (talk) 12:06, 23 July 2026 (UTC) - I've downloaded their entire catalogue of new IDs in this format:
id=10054,name=Adult Contemporary Volume 11 | Issue 4 | 24 March 1969,url=https://central.bac-lac.gc.ca/.redirect?app=rpm&id=10054&lang=engIs there a similar database for older IDs that would return the [name of the catalogue + volume + issue]? If anyone has extracted something like this, it would be easy to match and update all the IDs. Solidest (talk) 12:12, 23 July 2026 (UTC) - OK, I've found a way to map the old and new IDs. You can use the new IDs to call their API, and it returns the image numbers (the old IDs): https://digitalmanifest.bac-lac.gc.ca/DigitalManifest/39/1093 (new ID = 1093) returns nlc008388.1781. I guess I'll be able to make the replacements.
It's probably also possible to create a separate JSON file to format the exact titles of the sources (wrote about it here), but I'm afraid it would be very large which would be bad for the resources allocated to loading articles. I need to check how it can be compressed and what can be removed from it.
UPD: The mapping table: Wikipedia:WikiProject Record Charts/RPM Canada catalogue. Solidest (talk) 13:54, 23 July 2026 (UTC)- Good. If there are no problems with this, then all that's left to worry about is the manual citations. ResPM (T🔈🎵C) 14:13, 23 July 2026 (UTC)
- The solution is ready in the sandbox. I implemented it as new charts to make the changes easier to track and to avoid any interwiki issues. I also added the Country Albums chart. The chart titles will be generated automatically via Module:Music chart/chartdata-canada.json.I've applied for bot rights since the changes will affect about 8,300 articles, and I want to avoid flooding recent changes. Once the bot flag is granted (or possibly a little earlier), I'll move the changes to the live module and run the replacements.Around 240 of the old templates have inconsistencies: either the ID is incorrect, or the template specifies one chart while the ID belongs to another. In the new charts, these will appear as errors. So all of these cases will need to be reviewed and manually replaced to new IDs, after which the old chart templates can be deleted once they are no longer in use. Solidest (talk) 09:34, 24 July 2026 (UTC)
- Got it. ResPM (T🔈🎵C) 21:59, 24 July 2026 (UTC)
- The solution is ready in the sandbox. I implemented it as new charts to make the changes easier to track and to avoid any interwiki issues. I also added the Country Albums chart. The chart titles will be generated automatically via Module:Music chart/chartdata-canada.json.I've applied for bot rights since the changes will affect about 8,300 articles, and I want to avoid flooding recent changes. Once the bot flag is granted (or possibly a little earlier), I'll move the changes to the live module and run the replacements.Around 240 of the old templates have inconsistencies: either the ID is incorrect, or the template specifies one chart while the ID belongs to another. In the new charts, these will appear as errors. So all of these cases will need to be reviewed and manually replaced to new IDs, after which the old chart templates can be deleted once they are no longer in use. Solidest (talk) 09:34, 24 July 2026 (UTC)
- Good. If there are no problems with this, then all that's left to worry about is the manual citations. ResPM (T🔈🎵C) 14:13, 23 July 2026 (UTC)
- The old link format is:
- I've looked through several issues over the years and it looks like most of the old IDs can be changed to the new IDs. ResPM (T🔈🎵C) 11:59, 23 July 2026 (UTC)
- Hi Solidest, a request was made at WP:URLREQ#bac-lac.gc.ca. I have a bot designed for url changes. It's a lot more complex than search-replace: check every new URL is actually working, detect and deal with soft-404s and 404s, remove any
{{dead link}}tags, add any new{{dead link}}tags, handle any{{webarchive}}templates, add any needed|archive-url=and associated dates and|url-status=changes etc.. If you have a map of old ID -> new ID I would be happy to run it. -- GreenC 04:04, 26 July 2026 (UTC)- Hi. I can only say for certain about links like those that were used in the chart templates. I believe these are all links containing
Image=nlc008388.OLDID. In those cases, OLDID can be replaced with the new ID using this table: Wikipedia:WikiProject Record Charts/RPM Canada catalogue, and the entire link can be changed tohttps://recherche-collection-search.bac-lac.gc.ca/eng/home/record?IdNumber=NEWID&app=rpm. (You can use it as is, or append&ecopy=at the end, since the url is displayed like this, and the image number is automatically added to the URL after the page loads.) In the table, find the old ID in theecopycolumn and take the corresponding new ID from theItem Numbercolumn. Sometimes multiple old IDs map to a single new ID; the replacement is still correct, because the new ID will load a selection of multiple images. Solidest (talk) 09:01, 26 July 2026 (UTC)- OK great [nice table BTW]. I'll do this and record what it missed. Then we figure out how to find those IDs. It might be days before I start, working through the requests. -- GreenC 22:06, 26 July 2026 (UTC)
- Hi. I can only say for certain about links like those that were used in the chart templates. I believe these are all links containing
Hi Solidest, the website has CloudFlare blocking so I could not test live pages beyond manual spot checks.
- Bot results: Checked 5,152 pages and edited 5,142 pages. Moved 9,889 links to a new URL: 9,889 ruled mapped redirects, Removed 3
{{dead link}}. Added 251{{dead link}}. Switched 108|url-status=deadto live. Switched 26|url-status=liveto dead. Added 1,057 archive URLs (1,057 Wayback).
I had AI write a summary of some issues in case it is helpful to you for the template conversion. -- GreenC 00:00, 2 August 2026 (UTC)
Report of findings |
|---|
Hi Solidest, First, a note on the table's reliability. Since it's the basis for several thousand edits I sampled 150 rows at random and checked them against LAC's own digitalmanifest.bac-lac.gc.ca API — which sits outside the Cloudflare gate, unlike the record pages. All 150 matched exactly on both the ecopy set and the chart/volume/issue/date. So the table is accurate as far as I can measure it. Second, three groups I couldn't convert. 96 IdNumbers that appear in citations but not in your table — 130 citations. I sampled 20 of them against the manifest API and all 20 return an empty response, meaning LAC has no record for them at all. So these look like items LAC didn't carry over in the migration rather than gaps in your work. They'll presumably fail in the template conversion too, so they may be worth flagging as errors there. Full list: 77 86 111 112 114 120 241 253 1156 2206 2383 2410 2431 2446 2458 2538 2543 2563 2644 2648 2715 2783 2811 2850 3110 3185 3211 3393 3537 3564 3578 3604 3632 3668 3692 3736 3849 4020 4041 4198 4269 4300 4393 4585 4665 4984 5009 5300 5306 5372 5666 5749 6299 6770 6819 7014 7023 7055 7056 7096 7197 7217 7255 7263 7287 7316 7390 7471 7572 7596 7645 7652 7667 7668 7714 7727 7729 7772 7776 7863 7871 7912 7977 8082 8245 8347 9354 9386 9699 9745 9767 9779 9917 9984 10394 10454 8 ecopy ids in citations with no row in the table — 441a 5082a 5095b 5103b 5110a 5114a 5123a 6922. These may be genuine omissions, since I can't query LAC by ecopy to check. 10 ecopies that map to two different Item numbers. I held these back rather than pick one. Four look like they may be data errors worth a look — same date, same chart, contradictory volume/issue: 0697 -> 537 (Top Albums/CDs v44 i16) or 7992 (Top Singles v14 i15) both 1986-07-12 7708 -> 4609 (Top Singles v17 i9) or 4610 (Top Singles v61 i2) both 1972-04-15 6547 -> 4861 (Top Singles v36 i23) or 4862 (Top Singles v36 i26) both 1982-07-17 6281 -> 4256 (Top Singles v38 i9) or 4257 (Top Singles v38 i10) both 1983-05-07 The rest map one scan to two different charts (e.g. 100183 → Country Singles or Top Singles), which may be legitimate if one image covers both. Everything unconverted has been given an archive link and marked dead, so no citation was left broken. |
- Thank you. I'm still waiting for my bot permissions request to be reviewed. Once I've run the replacement script, I'll take a closer look at your report, along with the items that weren't replaced. It’s possible that the migration is still ongoing, since most pages show “last updated: last week of july,” and more IDs may reappear after. Solidest (talk) 06:40, 2 August 2026 (UTC)
- I updated everything that could be done automatically. The first batch was straightforward: replacing the old IDs with the new ones. After that, I was able to find around 300 more cases where the new IDs had been entered into the old template. I assume some of these cases may also have ended up in GreenC's report. I double-checked these cases with LLM to make sure everything matched exactly (also checked cases where the old ID matched one of the new ones = found 1, but no replacements with this ID). Also, there were around 10 replacements where the a/b part of the chart ID had been specified incorrectly.In the end, there are still cases with various issues where no replacement was made and which require manual processing. Here is the full summary of the remaining cases, which can be used to fix individual groups of problems: User:Solidest/CanadaRPM report. Solidest (talk) 15:55, 6 October 2026 (UTC)
Argentina
[edit]Category:Single chart usages for Argentina has been converted over to Category:Single chart usages for Billboardargentinahot100 and can be deleted. This category was an alias. Thanks! MrLinkinPark333 (talk) 23:42, 28 July 2026 (UTC)
Done. Thanks. Solidest (talk) 06:37, 29 July 2026 (UTC)
Scotland
[edit]This chart's name should be Scottish Singles Sales per Official Charts. Per Scottish Singles and Albums Charts, this chart that started in 1994 has not been published since December 3rd, 2020. Could this be updated? Thank you. MrLinkinPark333 (talk) 20:36, 31 July 2026 (UTC)
Done. Solidest (talk) 22:17, 7 August 2026 (UTC)
South Africa EMA Airplay
[edit]Hello, shouldn't template for South Africa EMA chart be changed from South Africa (EMA) to South Africa Airplay (EMA), to match other airplay charts? Szyign (talk) 08:37, 4 August 2026 (UTC)
Done. Solidest (talk) 22:17, 7 August 2026 (UTC)
Ireland2
[edit]I noticed that the irishcharts.ie website now redirects to the new IRMA website. The {{Single chart|Ireland2|0|artist=}} and {{Single chart|Ireland2|0|song=}} templates currently redirect to the IRMA home page (example link here). They could be retooled to target the chart search page on the new site. An example would be this. ThedancingMOONpolice (talk) 06:11, 8 August 2026 (UTC)
Done. Also added a new site as Ireland5. I’m not sure if this is really the right way to go about it. It’s likely that there will be cases which were on the old site but aren’t on the new one, in which case the old ones should have been marked as archived and the new ones added as separate charts. But we’ll see; let’s hope there are not many such cases. Solidest (talk) 17:58, 10 August 2026 (UTC)
UK chart song pages
[edit]Hello. I'm not sure if anyone is aware, but the Official Charts website now has song pages that list the whole chart history archived on the website for each individual song, with the positions of each week and everything. It's not just the UK Singles Charts they have on these, but also others except seemingly the Scottish single chart, I guess because it's inactive. I've noticed that there isn't a template field to source to these song pages, but rather the dates of a chart. If someone could update the template, that would be great. Thanks. Bytor, Big Money, and the Bones (At the Tobes of Hades) 15:02, 11 August 2026 (UTC)
- I think these pages have been around since at least 2023 or so it seems? I thought they weren't being added because there wasn't really a need—there are plenty of specific charts and links to search results. But adding them to both songs and albums wouldn't be difficult if they're really needed. Solidest (talk) 20:07, 11 August 2026 (UTC)
- It'd be a lot simpler in all cases instead of looking for the specific week it chart. Bytor, Big Money, and the Bones (At the Tobes of Hades) 22:58, 11 August 2026 (UTC)
Done. I added both as UK SongandUK Album. I also had to add a new encoder to the module to trim hyphens to make this work. I've checked some titles with special characters, and there don't seem to be any issues. But if you come across any unusual variations in title or artist names that aren't being converted into links, please let me know. Solidest (talk) 23:00, 11 August 2026 (UTC)- You're the best. Thanks! The specific genre charts, including UK Dance, UK Indie, UK Indie Breakers, UK Afrobeats, and so on and so forth are also on these song pages, so if you could do the same for those, that would be great! Bytor, Big Money, and the Bones (At the Tobes of Hades) 23:03, 11 August 2026 (UTC)
- Hmm, in that case, I think it would be better to integrate the dual mode into the existing charts rather than use separate charts. If a UK OC template call specifies only artist+song/album, it links to a separate page. If a date is specified, it links to a specific chart. I assume those pages contain all the existing charts? Solidest (talk) 23:18, 11 August 2026 (UTC)
- Whatever works. Bytor, Big Money, and the Bones (At the Tobes of Hades) 23:23, 11 August 2026 (UTC)
- Done, the dual mode now works with all the UK Official Charts. The result is a bit heavy, but it looks like everything is working fine. Solidest (talk) 23:40, 11 August 2026 (UTC)
- Are the
{{Album chart|UK}}and{{Album chart|UK2}}templates meant to be the same now?{{Album chart|UK}}previously only required the artist's name to link to their entire chart history if the internal resolver could redirect to the artist's numeric ID page, but now the behavior is the same as{{Album chart|UK2}}and many articles are displaying theMissing parameters: date or album+artisterror message, see here for example. ThedancingMOONpolice (talk) 08:35, 12 August 2026 (UTC)- My bad,
{{Album chart|UK}}should not be affected by these changes. I've reverted it. Solidest (talk) 12:34, 12 August 2026 (UTC)
- My bad,
- Are the
- Done, the dual mode now works with all the UK Official Charts. The result is a bit heavy, but it looks like everything is working fine. Solidest (talk) 23:40, 11 August 2026 (UTC)
- Whatever works. Bytor, Big Money, and the Bones (At the Tobes of Hades) 23:23, 11 August 2026 (UTC)
- Hmm, in that case, I think it would be better to integrate the dual mode into the existing charts rather than use separate charts. If a UK OC template call specifies only artist+song/album, it links to a separate page. If a date is specified, it links to a specific chart. I assume those pages contain all the existing charts? Solidest (talk) 23:18, 11 August 2026 (UTC)
- You're the best. Thanks! The specific genre charts, including UK Dance, UK Indie, UK Indie Breakers, UK Afrobeats, and so on and so forth are also on these song pages, so if you could do the same for those, that would be great! Bytor, Big Money, and the Bones (At the Tobes of Hades) 23:03, 11 August 2026 (UTC)
- It'd be a lot simpler in all cases instead of looking for the specific week it chart. Bytor, Big Money, and the Bones (At the Tobes of Hades) 22:58, 11 August 2026 (UTC)
template for Billboard Vietnam Hot 100 (and other Billboard countries charts?)
[edit]Hi, I’ve been wondering recently whether it might be worth adding templates for the official Billboard charts for other countries, such as the Billboard Vietnam Hot 100, the Korea Hot 100, and countries from the Hits of the World list that are frequently used in chart tables on the wiki – such as Ecuador, Chile, Peru, Bolivia, Croatia, Romania, Luxembourg, Iceland, Hong Kong, India, Malaysia, Turkey, Thailand, Taiwan, Mexico and Indonesia? Szyign (talk) 19:51, 22 August 2026 (UTC)
- @Solidest forgot about the ping Szyign (talk) 19:51, 22 August 2026 (UTC)
- I don't mind if someone else adds it, but right now it seems too time-consuming to me, sorry. P.S. It's better to prepare the information for these requests in advance–URLs with chart IDs, their availability dates, table text, and so on. Solidest (talk) 20:16, 22 August 2026 (UTC)
India International chart archive
[edit]Hey, whilst browsing the IMI Charts website, I stumbled across a complete week-by-week archive of their charts, dating back to 2021. The whole archive is available here: https://imicharts.com/archives/
I think we could create a template similar to the one we use for South Africa – most of the links are simply like: /week-13-2025/, with just a few exceptions – to make things easier, I’ve listed them below:
Week 13, 2026: https://imicharts.com/week-12-2026-copy/
Week 12, 2025: https://imicharts.com/week-12-2/
Week 11, 2025: https://imicharts.com/week-11-2/
Week 10, 2025: https://imicharts.com/week-10-2/
Week 8, 2025: https://imicharts.com/week-9-2/
Week 8, 2025: https://imicharts.com/week-8-2/
Week 7, 2025: https://imicharts.com/week-7/
Week 6, 2025: https://imicharts.com/week-6-3/
Week 5, 2025: https://imicharts.com/week-5-2/
Week 4, 2025: https://imicharts.com/week-4-2/
Week 3, 2025: https://imicharts.com/week-3-2/
Week 2, 2025: https://imicharts.com/week-2-2/
Week 1, 2025: https://imicharts.com/week-1-3/
Week 37, 2024: https://imicharts.com/week-37-2024-copy/
Week 8, 2024: https://imicharts.com/week-7-2024-2/
Week 19, 2023: https://imicharts.com/week-19-2/
Week 15, 2023: https://imicharts.com/week-14-2023-copy/
Week 12, 2023: https://imicharts.com/week-11-2023-2/
Weeks 1-9 of 2023 have 0 before the number in the link, for example 01-2023
Week 52, 2022: https://imicharts.com/week-1-2/
Weeks 51-24 of 2022 (without the listed exceptions below) are available simply under /week-51-2 in the link
Week 44, 2022: https://imicharts.com/week-44/
Week 43, 2022: https://imicharts.com/week-43-3/
Week 27, 2022: https://imicharts.com/week-27/
Weeks 1-23 of 2022 (without the listed exceptions below) are available simply under /week-20 in the link
Week 16, 2022: https://imicharts.com/week-15-2/
Week 7, 2022: https://imicharts.com/week-6-2/
Weeks 51-24 of 2021 (without the listed exceptions below) are avilable simply under /week-51 in the link
Week 44, 2021: https://imicharts.com/week-43-2/
Week 27, 2021: https://imicharts.com/meet-the-married-couple-from-kiev-behind-all-that-viral-2/
Okay, after listing it I see that there are many exceptions, but I guess with already created code for South Africa and this list it shouldn't be that hard to implement, so let me know what you think! @Solidest Szyign (talk) 03:02, 26 August 2026 (UTC)
- The South African approach would not work here, as all the identifiers there are predictable, whereas here there are many exceptions. We could create a Czech-Slovak version using a JSON file that would map dates to page IDs (either all of them or just the exceptions), but this comes with some complications. The parts of the URLs that are currently changing are slugs, which are automatically generated based on the page title. If a title is entered in a non-standard or incorrect way, an unpredictable slug is generated, which would then have to be entered manually into the JSON. There is also a possibility that even old slugs could change as a result of some actions on the site. Hopefully, that won't happen.The new ones, however, look systematic overall starting from week 13 of 2025, so they can be predicted without regularly updating the JSON, which is the key factor. Therefore, I think we can add the chart. Solidest (talk) 18:41, 26 August 2026 (UTC)
Done. Added as India Int. Solidest (talk) 19:17, 26 August 2026 (UTC)- Thank you so much! Szyign (talk) 02:17, 27 August 2026 (UTC)
{{Single chart|UKstreaming|0|artist=|song=}} should be removed
[edit]Audio Streaming chart peaks don't appear on a song's chart history page. For example "HBA" which peaked at 92 in March 2025 doesnt show any chart entries. haventcameupwithanameyet 07:15, 27 August 2026 (UTC)
- Yes, it looks like those pages only display the generic Streaming (which combines audio and video?), which we don't have in the template. I've removed that option for this chart. Solidest (talk) 13:40, 27 August 2026 (UTC)
Display issue with archives
[edit]I've just added a couple archive parameters at Believe (Staind song)#Weekly charts, but the text for the archive link calls it the original? I suspect this may have something to do with the lack of a url-status parameter, which I think would be a good idea to add so that usages with archives called don't display as dead links. Dylan620 (he/they/she • talk • edits) 21:09, 28 August 2026 (UTC)
- See Template:Single chart#Manual reference mode. Manual link reference mode (including archived links) is enabled when the third parameter is set to M. Solidest (talk) 23:04, 28 August 2026 (UTC)
- @Solidest:
Facepalm Thanks for the pointer. Dylan620 (he/they/she • talk • edits) 07:07, 29 August 2026 (UTC) - Since using
archive-urlandarchive-datewithout theMparameter uses the live link as the main link likeurl-status=live, I suggest updating the schema fromArchived from [{archiveurl} the original]to[{archiveurl} Archived] from the originalto follow the output format of cite web template. ThedancingMOONpolice (talk) 06:46, 11 September 2026 (UTC)- Oops, this isn't supposed to work that way at all. I didn't plan on making archive links accessible without the M parameter for templates that don't have that parameter since this wasn't in the original template. I'm not sure yet whether I should remove this feature now or if it might actually be useful. Solidest (talk) 23:13, 2 October 2026 (UTC)
- I've decided to remove this feature, since archive links are intended to be implemented either in bulk as part of the standard layout for the entire chart or manually in M mode. URL status control is already available in M mode. Solidest (talk) 00:09, 13 October 2026 (UTC)
- Oops, this isn't supposed to work that way at all. I didn't plan on making archive links accessible without the M parameter for templates that don't have that parameter since this wasn't in the original template. I'm not sure yet whether I should remove this feature now or if it might actually be useful. Solidest (talk) 23:13, 2 October 2026 (UTC)
- @Solidest:
Poland Streaming chart
[edit]Hi @Solidest, would it be possible to add a template for Polish Streaming? The ref is the same as for the existing Airplay template, and I’d be happy to start using both templates when adding missing ones to articles, as I already do that from time to time anyway. Szyign (talk) 05:07, 9 September 2026 (UTC)
Added. Solidest (talk) 22:34, 2 October 2026 (UTC)
Monitor Latino
[edit]I don't know when it began, but now, Monitor Latino requires to be subscribed to see the charts on the site (apparently, you even have to pay for it), what makes difficult to do this. If a command for Billboard song charts for countries like Bolivia, Chile, Ecuador and Peru would be created, it couldn't be solutioned, at least, partially? (I'm not suggesting to replace it, only to create a new template) LuanCampSouza93 (talk) 23:33, 29 September 2026 (UTC)
- @LuanCampSouza93 Hey, it seems you’re trying to access the charts via the homepage; they are easily accessible if you type in the link manually. Here is an example: https://charts.monitorlatino.com/top20/Print/bolivia/general/20260921
- The only thing you need to change to view charts for other countries is the country name in the link (the standard English name, except for: the Dominican Republic, Latin America and Central America – where the codes are respectively: RD, Internacional and Centroamerica). Also when it comes to the Latin America chart, only Anglo and Latino ones are available, the general one doesn't load.
- To view other weeks, simply change the date in the link manually by 7 days back or forward. The charts are published every Monday. Let me know if you need any help! Szyign (talk) 00:36, 2 October 2026 (UTC)
Romanian UPFR charts
[edit]Hey, I’d like to suggest adding template for Romania, as the links to their weekly charts are permanent for quite a long time.
The official IFPI member for Romania – UPFR – has been publishing the Romanian Top 10 airplay chart since December 2021, and this is the official successor to the Airplay 100, which ceased publication on 14 November 2021. An archive of all weeks is available there: https://upfr.ro/categorie/top-10
Below, I have listed the differences, just like I did before for India:
From Week 48, 2021 to Week 26, 2022 link looks like this: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-26-29-06-2022-04-07-2022/ The only things that change are the week number and the date in this format, for example: 29-06-2022-04-07-2022. It is also the same for 2022 Weeks: 28, 29, 30, 34, 36, 37, 41, 48, 52.
From Week 3, 2023 to Week 10, 2024, a typical link looks like this: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-3-2023/ The only things that change are the week number and the year.
From Week 11, 2024 to Week 10, 2025 a typical link looks like this: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-11 (which means that they don't include a year)
From Week 11, 2025 to Week 32, 2025, a typical link looks like this: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-11-2/
Finally - from Week 33, 2025, it comes back to 2023 & early 2024 version returns, and the typical link TO THIS DAY looks like this: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-33-2025/
Here are the links that are not from the same pattern:
Week 27, 2022: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-week27/
Week 31, 2022: https://upfr.ro/top-10-din-100-saptamana-31/
Week 32, 2022: https://upfr.ro/top-10-din-100-week-32/
Week 34, 2022: https://upfr.ro/top-10-week-34/
Week 35, 2022: https://upfr.ro/top10-saptamana-35-din-2022/
Week 38, 2022: https://upfr.ro/topul-celor-mai-difuzate-piese-saptamana-38/
Week 39, 2022: https://upfr.ro/top-10-din-100-week-39-2022/
Week 40, 2022: https://upfr.ro/top-10-week-40-2022/
Week 42, 2022: https://upfr.ro/top-10-saptamana-42-2022/
Week 43, 2022: https://upfr.ro/top-10-din-100-saptamana-43-2022/
Week 44, 2022: https://upfr.ro/top10-100-saptamana-44-2022/
Week 45, 2022: https://upfr.ro/top-10-bmat-saptamana-45-2022/
Week 46, 2022: https://upfr.ro/top-10-bmat-saptamana-46-2022/
Week 47, 2022: https://upfr.ro/top-10-bmat-saptamana-47-2022/
Week 49, 2022: https://upfr.ro/top-bmat-saptamana-49-2022/
Week 50, 2022: https://upfr.ro/top-10-saptamana-50-2022/
Week 51, 2022: https://upfr.ro/top-10-bmat-saptamana-51-2022/
Week 1, 2023: https://upfr.ro/top-10-bmat-saptamana-1-2023/
Week 2, 2023: https://upfr.ro/top-10-bmat-week-2-2023/
Week 6, 2023: https://upfr.ro/top-10-din-100-saptamana-6-2023/
Week 8, 2023: https://upfr.ro/top-10-saptamana-8-2023/
Week 10, 2023: https://upfr.ro/top-10-saptamana-10-2023/
Week 13, 2023: https://upfr.ro/top-10-din-100-saptamana-13-2023/
Week 14, 2023: https://upfr.ro/tiop-10-din-100-bmat-saptamana-14-2023/
Week 15, 2023: https://upfr.ro/top-10-din-100-saptamana-15-2023/
Week 29, 2023: https://upfr.ro/top-10-din-100-saptamana-29-2023/
Weeks 30, 31, 32 of 2023: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamanile-30-31-si-32-din-2023/
Weeks 36, 37 of 2023: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamanile-36-37-2023/
Week 43, 2023: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-42-2023-duplicate-33122/
Weeks 50, 51, 52 of 2023: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamanile-50-51-52-2023/
Week 43, 2025: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-42-2025-duplicate-38958/
I know it is all a bit of a mess, but I think we should give it a try since it finally stable since August 2025. @Solidest please let me know what you think :) Szyign (talk) 16:56, 4 October 2026 (UTC)
- Although I don't really like the idea of storing almost the entire URL of articles from the blogging platform-like sites, I think it's quite feasible overall. I'll try to implement it when I have a bit more free time. Solidest (talk) 16:38, 6 October 2026 (UTC)
Done. One exception was found in 2026 and a few additions in 2022, but overall there shouldn't be any problems, and it works. I also reworked the function responsible for these charts, making it universal. Now India (the site isn’t working for me at the moment), Romania, and South Africa all use the same approach with their JSONs. I also had to completely redo South Africa’s approach, since in 2026 they stopped adhering to the standard link format. Solidest (talk) 04:08, 13 October 2026 (UTC)
- Thank you very much!! Szyign (talk) 16:11, 13 October 2026 (UTC)
- Hi @Solidest, just wanted to share that I've emailed Indian Music Industry to let them know that their archive page was broken, and now it seems they repaired it and it's finally working fine again :) Szyign (talk) 16:11, 28 October 2026 (UTC)
- Hi @Solidest, just wanted to say that they've messed up the links for Week 42 and 43 of 2026:
- Week 42 is available here: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-43-2026
- Week 43 is available here: https://upfr.ro/top-10-din-100-cele-mai-difuzate-piese-pentru-saptamana-43-2026-2/
- would be good if u could add this exception to the template :) thanks in advance Szyign (talk) 17:37, 30 October 2026 (UTC)
Done. Added both to exceptions. Solidest (talk) 14:46, 2 November 2026 (UTC)
- Hi @Solidest, just wanted to share that I've emailed Indian Music Industry to let them know that their archive page was broken, and now it seems they repaired it and it's finally working fine again :) Szyign (talk) 16:11, 28 October 2026 (UTC)
- Thank you very much!! Szyign (talk) 16:11, 13 October 2026 (UTC)
Request
[edit]Hi @Solidest, Could I ask you once again to add a note in Module:Music chart/single.json, this time for Costa Rica, that it's data is available from 21 August 2017 onwards? This link is the first week for which data is available – attempting to view the previous week returns no results, as is the case with other Monitor Latino charts for which I have already found the dates from which their archives are available. Thanks! Szyign (talk) 00:22, 11 October 2026 (UTC)
Added. Solidest (talk) 00:12, 13 October 2026 (UTC)
Lithuania and their overhauled charts website + Bulgaria
[edit]Hey @Solidest, Generally speaking, I’ve noticed that the official airplay+streaming+sales (and also albums) charts for Lithuania, published by AGATA – the IFPI member for that country – recieved a dedicated subpage for the chart archive since week 22 of 2026, thereby putting an end to the long-standing issue with their charts – the lack of a stable link where only the week and year change. Now that this has been sorted, I’d like to ask if it would be possible to turn this into a template? I could take care of adding it to the articles for singles released after the overhaul :)
By the way, to avoid creating two threads at the same time – I’d also like to suggest creating a template for Bulgaria – even though they only have an airplay top 10 (combined and local), I’ve noticed that quite a few singles has Bulgaria in the charts table, so it would be useful. Of course, they have a good link for the template, where only the day, month and year change, so you could simply add a single parameter, such as week=10-Jan-2025
Best regards! Szyign (talk) 23:26, 26 October 2026 (UTC)
- Lithuania
Done. The update will be uploaded to the wiki during the next sync. Solidest (talk) 12:39, 2 November 2026 (UTC) - There's a question about Bulgaria: should these be two separate charts? How should their titles be formatted?
As far as I understand from ("BMAT контролира и отчита музика излъчена по телевизии, радиостанции и публични места в световен мащаб.") these are Airplay charts. So would the following naming be correct?- Bulgaria Airplay (PROPHON)
- Bulgaria Domestic Airplay (PROPHON)
- Solidest (talk) 12:43, 2 November 2026 (UTC)
- I've added them in this format for now. It also appears that the links support fully numeric dates in the YYYY-MM-DD format. I've checked a few at random and haven't found any issues. If you find any that don't work, please let me know. Solidest (talk) 15:00, 2 November 2026 (UTC)
- Thanks! Szyign (talk) 16:04, 2 November 2026 (UTC)
- About naming the Bulgarian charts - you're right, they should be named like this :) Szyign (talk) 16:04, 2 November 2026 (UTC)
- I've added them in this format for now. It also appears that the links support fully numeric dates in the YYYY-MM-DD format. I've checked a few at random and haven't found any issues. If you find any that don't work, please let me know. Solidest (talk) 15:00, 2 November 2026 (UTC)
Hot Singles Sales
[edit]The Billboard artist chart history for Hot Singles Sales is currently live with a new link, for example: https://www.billboard.com/artist/my-chemical-romance/chart-history/hss/. Can the template be updated to use this? Thanks. ThedancingMOONpolice (talk) 00:55, 31 October 2026 (UTC)
Done. The Billboard website is finally working properly, and I can confirm that the pages are accessible again. Solidest (talk) 20:53, 2 November 2026 (UTC)
The issue with Hung Medien templates after overhaul
[edit]Hey @Solidest, Hung Medien recently overhauled some of its pages. I’ve noticed that tracks whose artists’ names or titles contain characters such as ‘é’ or similar are having trouble displaying the link correctly in the template. I can see examples of this problem with tracks of Adéla or "Movin' to the Sun, where one of the artists’ names also contains an ‘é’. Would it be possible to sort this out somehow? Szyign (talk) 19:56, 1 November 2026 (UTC)
- Hey. I think this should be an easy fix by switching to a modern encoder. They used to have an outdated Latin-1 URL encoder, but now it should be standard UTF-8. (I'll process all the requests here and fix this a bit later.)What's interesting, though, is that they've switched to songid-based URLs. I suspect that at some point the current parsers might stop working, and we'll have to add songid everywhere, as we did for Germany. Solidest (talk) 21:49, 1 November 2026 (UTC)
Done. The update turned out to be a bit more complicated, as not all websites have switched to the new encoding.Switched to UTF-8:
- Single: Australia, Denmark, Finland2, France, Italy, New Zealand, Norway, Portugal, Spain, Sweden.
- Album: Australia, Denmark, France, Italy, New Zealand, Norway, Portugal, Spain, Sweden.
- I also had to fix the UTF-8 encoding itself and the handling of ampersands (previously %2526, now %26), as well as add a new rule to remove it from url (used only for Ireland2).Still using Latin-1:
- Single: Austria, Dutch100, Flanders, Flanders Dance, Flanders Tip, Flanders Urban, Ireland3, Swiss Romandy, Switzerland, Wallonia, Wallonia Dance, Wallonia Tip.
- Album: Austria, Flanders, Greece, Ireland2, Mexico, Netherlands, Switzerland, Wallonia.
- I also switched some DVD charts back to Latin-1 because UTF-8 didn't work for them: FlandersMV, WalloniaMV, NetherlandsMV. Solidest (talk) 14:46, 2 November 2026 (UTC)
Partly done with Swiss Romandy. It seems that the URL now points to a new website launched in May 2026, which doesn't contain any data from the old charts. I've replaced it with a link to the Wayback Machine and marked it as non-working. The new website doesn't contain any singles chart information at all. Solidest (talk) 14:47, 2 November 2026 (UTC)- Interesting, as always - thanks for your work :) Szyign (talk) 16:06, 2 November 2026 (UTC)
Billboard mainstream rock
[edit]Looks like this chart was renamed to Mainstream Rock Airplay. See this for example. I request a rename of this chart. Thanks! MrLinkinPark333 (talk) 01:51, 2 November 2026 (UTC)
Done. Although their website seems to be having some issues at the moment, as the link provided doesn't return any information. However, a search does currently show a title containing "Airplay". Solidest (talk) 14:47, 2 November 2026 (UTC)
Adding airplay charts for European markets?
[edit]Similar to Denmark's situation, the main singles charts of countries like France (SNEP) and Germany (BVMI) also do not take into account airplay, and they have a separate airplay chart. Shall we create templates for these?
- France Airplay chart: https://snepmusique.com/classement-radio/?annee=2024&semaine=22 (params needed: year, week)
- Germany Airplay chart (only before Dec 2020): https://germancharts.de/airplay/2024-23 (params needed: year, week)
- UK Airplay Chart: https://ukairplaychart.com/ (complied by Radiomonitor) ([https://www.officialcharts.com/charts/singles-chart/ Official Charts confirm that the metrics for the UK singles chart do not include radio airplay)
I'll conduct a more comprehensive research to identify which European singles chart does not take into account airplay. Ippantekina (talk) 11:12, 2 November 2026 (UTC)
- I was thinking about asking for this one before, many songs do not chart at France/Germany main chart, but they make it into airplay ones, so I believe it would make sense to add this templates :) Szyign (talk) 16:07, 2 November 2026 (UTC)
- If we talk about the airplay charts from official providers, I would also consider adding this ones:
- Italian Airplay - they even have dedicated sites for chart history of choosen song, as can be seen here: https://earone.com/song/9e2dff7b68/brutta-storia-emma-juli
- (typical chart link: https://earone.com/charts/earone-airplay-radio/2025/46)
- Norwegian Airplay:
- (typical chart link: https://topplista.no/charts/radio/2026-w13)
verified that IFPI only counts sales (physical+digital) and streams into singles chart, and not airplay
- Swiss Airplay:
- (typical chart link: https://hitparade.ch/charts/airplay/31-2026)
- Spanish Airplay: - they even have dedicated sites for chart history of choosen song, as can be seen here: https://www.elportaldemusica.es/single/teddy-swims-mr-know-it-all?list=top-50-radios
- (typical chart link: https://www.elportaldemusica.es/lists/top-50-radios/2026/43)
verified that the Spanish Airplay chart is separate, and airplay is excluded from the main singles chart
- Croatian International Airplay (they also have local one but not sure we need it at the moment)
- (archive with links: https://www.top-lista.hr/www/arhiva-arctop40/)
- South African Airplay:
- (typical chart link: https://theofficialsacharts.co.za/charts/radio/local-international-radio-chart-top-20-week-44-2026/)
- Brazilian Airplay:
- (link: https://charts.crowley.com.br/index.html; here the situation is complicated, because to view whole top 100 you need to register by e-mail and choose a week from the list, you can see an example at So Easy (To Fall in Love), where the whole instruction about how to view the peak from choosen week is available at the reference)
- Not sure which ones deserve to have a template, so I just shared all I know and regularly use :) Szyign (talk) 16:19, 2 November 2026 (UTC)
- @Szyign: that is very useful, thanks for these additional charts! I stand corrected: Germany has actually incorporated German airplay into the main singles chart since Dec 2020, so I think for pre-2020 singles we can still have separate charts. Meanwhile, it is true that France excludes airplay from the main SNEP chart. I guess we'll have to dig in further for the above countries to really scrutinise if airplay chart is separate from the main singles chart, but I do welcome the new templates! Ippantekina (talk) 17:48, 2 November 2026 (UTC)
- It would be more convenient to discuss all of this in separate sections, but anyway.I think almost everything here is feasible. There may be some difficulties with links that work or don't work depending on whether weeks have a leading zero. This will need to be tested, and the module may need some further adjustments.
- Germany is a strange case: radio charts are available starting from 4 December 2020, as well as for positions 51–100 during 1989–2001. Initially, I thought we could impose some kind of restriction, but perhaps it's better to leave this up to the users. I also don't know whether this needs to be reflected somehow in the chart titles.
-
- For Italy, we can implement a dual mode if needed: year/week + songid extracted from the URLs.
-
- Spain could also have a dual mode. We could even generate links to individual pages automatically from artist+song. However, this won't always work, as some entries contain incorrect information, and numeric suffixes are used in the URLs instead, as in this example: . In those cases, the link would have to be generated using year+week only.
-
- South Africa will most likely have to be integrated into the existing JSON.
-
- Croatia is more complicated. Their URLs come in different formats, including "top40-27-tjedan-06-07-2020" and "top100-26-listopada-2026". There are six URL formats in total, plus ten URLs that deviate from these formats due to errors. So we probably won't be able to avoid using JSON. However, new IDs could probably be generated based on the URL format. Alternatively, we could go with a chartid parameter where these URL fragments could be entered manually.
-
- Regarding Brazil, I'm deliberately not adding websites that only provide a single URL and instructions for accessing the data. I think these are better handled using ordinary cite web references, so that bots can archive them and, if the website stops working, a direct link to the archived version for that specific date can be used instead.
- Also regarding Brazil, the data here once again can be accessed through their internal JSON, with 150+ positions and no registration required: . I wouldn't want to use these JSON endpoints directly as references on Wikipedia, since ordinary users wouldn't be able to read them, and it's unclear whether doing so would be legally permissible.I had an idea of how these JSON sources could potentially be implemented technically. We could create a separate aggregator and parser on Toolforge that would interpret JSON data from different websites and display it in a table, with links to both the original website and the underlying JSON above it. We could also make sure that each result is accessible through a direct link. This would allow us to use these tool pages as references instead. However, I'm also unsure about the legal implications of this approach. It would probably be quite time-consuming to implement, too. Solidest (talk) 02:06, 3 November 2026 (UTC)
- It would be more convenient to discuss all of this in separate sections, but anyway.I think almost everything here is feasible. There may be some difficulties with links that work or don't work depending on whether weeks have a leading zero. This will need to be tested, and the module may need some further adjustments.
- @Szyign: that is very useful, thanks for these additional charts! I stand corrected: Germany has actually incorporated German airplay into the main singles chart since Dec 2020, so I think for pre-2020 singles we can still have separate charts. Meanwhile, it is true that France excludes airplay from the main SNEP chart. I guess we'll have to dig in further for the above countries to really scrutinise if airplay chart is separate from the main singles chart, but I do welcome the new templates! Ippantekina (talk) 17:48, 2 November 2026 (UTC)
- If we talk about the airplay charts from official providers, I would also consider adding this ones:
- The UK Airplay Chart doesn't support generating links based on dates. The only option is to manually specify a snapshot from the Wayback Machine. Automating this wouldn't be reliable either: you could specify a date, but the archive might redirect to the previous week or an even earlier one because the requested snapshot wasn't saved. Solidest (talk) 15:45, 4 November 2026 (UTC)
- Yeah, I think for UK Airplay Chart we should look into other sources that may point to specific past issue dates. Otherwise Wayback Archive is not very reliable. Ippantekina (talk) 20:10, 4 November 2026 (UTC)
- Done –
France, Germany, Italy, Norway, Spain, South Africa, Switzerland. Regarding Spain, I decided not to use artist-title params for URL predictions, since they work inconsistently, and instead simply use the URL part (e.g.teddy-swims-mr-know-it-all) assongid. But that's just one of the options. In Spain and Italy, bothyear+weekandsongidwork. And I assume year+week is preferable as the default option. - Won't be done –
Brazil, UK. - On hold –
Croatia. I still haven't figured out the best way to implement this function (or whether it's worth implementing at all), since it would make the module's code a bit longer than I'd like for helper functions.
- Solidest (talk) 23:50, 5 November 2026 (UTC)
- @Solidest one little question - could you add link to EarOne in the italy airplay template please? :) Szyign (talk) 01:50, 7 November 2026 (UTC)
- Also if it's possible - would be good if you could link PROPHON - it's currently a redirect to IFPI, but it has some interlinks, so maybe one day someone will create that article Szyign (talk) 01:51, 7 November 2026 (UTC)
- Updated both. Solidest (talk) 15:41, 7 November 2026 (UTC)
- Also if it's possible - would be good if you could link PROPHON - it's currently a redirect to IFPI, but it has some interlinks, so maybe one day someone will create that article Szyign (talk) 01:51, 7 November 2026 (UTC)
- @Solidest one little question - could you add link to EarOne in the italy airplay template please? :) Szyign (talk) 01:50, 7 November 2026 (UTC)
RPM errors
[edit]Found a few errors while replacing the RPM charts. 2204 has both the Top Singles and Country Singles in the same file. 5614 is mislabelled as Country Singles and should be Top Singles. 5618 is mislabelled as Top Singles and should be Country Singles. I emailled Library and Archives Canada for these errors. MrLinkinPark333 (talk) 21:46, 3 November 2026 (UTC)
- Thanks for reporting this! Please let us know if they make any changes, as we may need to update our database accordingly. Solidest (talk) 15:25, 4 November 2026 (UTC)
- To make sure, I checked all 8,854 of their entries again for new IDs or updates. I found nothing new, even though the pages show “Date modified: 2026-10-28” at the bottom – I don't know what this refers to.As for entries 5614 and 5618, I doubt they'll do anything about them, given that they're newspaper scans and the text matches the headlines.As for 2204, in Whatever Comes First (song), it's probably best to use manual mode
|3=Mfor now. Solidest (talk) 16:43, 7 November 2026 (UTC)
Switzerland
[edit]Hello. Switzerland uses swisscharts.com. However, the website name is hitparade.ch. For example, this redirects here for All Good Things (Come to an End). The hitparade.ch version also redirects to the same URL format. I request changing the URL in case swisscharts.com gets removed. Thanks! MrLinkinPark333 (talk) 00:29, 4 November 2026 (UTC)
Done. Solidest (talk) 15:26, 4 November 2026 (UTC)