Jump to content

Template talk:Single chart

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

New TopHit airplay charts

[edit]

Hello. TopHit has released another update, and now charts for the following countries are available: Belarus, Estonia, Kazakhstan, Latvia, Lithuania, Moldova. Can someone make a template similar to Russia Airplay? Sanslogique (talk) 17:30, 21 April 2024 (UTC)[reply]

|Russia={{!}}{{#if:{{{date|}}}|Russia Airplay ([[TopHit]])|{{main other|[[Category:Single chart used with missing parameters]]}}<span style="color:red;">ERROR: MUST PROVIDE date FOR Russian CHART</span>}}{{#tag:ref|"[https://tophit.com/chart/top/radio/hits/ru/weekly/{{{date}}} Top Radio Hits Russia Weekly Chart]." [[TopHit]]. {{#if:{{{publish-date|{{{publishdate|}}}}}}|{{{publish-date|{{{publishdate}}}}}}. }} {{#if:{{{access-date|{{{accessdate|}}}}}}| Retrieved {{{access-date|{{{accessdate}}}}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{trim|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
  • Parts for other countries:
** Belarus: "[https://tophit.com/chart/top/radio/hits/by/weekly/{{{date}}} Top Radio Hits Belarus Weekly Chart]."
** Estonia: "[https://tophit.com/chart/top/radio/hits/ee/weekly/{{{date}}} Top Radio Hits Estonia Weekly Chart]."
** Latvia: "[https://tophit.com/chart/top/radio/hits/lv/weekly/{{{date}}} Top Radio Hits Latvia Weekly Chart]."
** Lithuania: "[https://tophit.com/chart/top/radio/hits/lt/weekly/{{{date}}} Top Radio Hits Lithuania Weekly Chart]."
** Kazakhstan: "[https://tophit.com/chart/top/radio/hits/kz/weekly/{{{date}}} Top Radio Hits Kazakhstan Weekly Chart]."
** Moldova: "[https://tophit.com/chart/top/radio/hits/md/weekly//{{{date}}} Top Radio Hits Moldova Weekly Chart]."
** Ukraine: "[https://tophit.com/chart/top/radio/hits/ua/weekly/{{{date}}} Top Radio Hits Ukraine Weekly Chart]."

There are also data for Germany, Poland, Romania, Spain, UK, and the USA, but this countries have their own charts.--Sanslogique (talk) 18:23, 21 April 2024 (UTC)[reply]

It is actually worth noting that Latvia and Lithuania have their own charts as well. CeolAnGhra (talk) 06:54, 16 May 2024 (UTC)[reply]

Czech Republic template

[edit]

Hello! I used the template for the Czech Republic radio chart, but when I click the link to go to the ČNS IFPI webpage, only an Error 404 page appears. It seems like there's an issue with the link in the default template. Is there any way to fix this? CeolAnGhra (talk) 02:34, 16 May 2024 (UTC)[reply]

South African charts

[edit]

As I am restricted from editing this template, EMA is no longer in charge of monitoring the South African charts and sa-ema.com is not functioning anymore. On 1 September 2021, the Recording Industry of South Africa (RiSA) launched The Official South African Charts ranking Local charts, Local & International chart, and same as the radio charts/airplay based on digital sales and music streaming. The chart data can be accessed through this site theofficialsacharts.co.za. I would appreciate it if the details on this informative page were updated and the chart identifiers were added for the singles chart template. This is not to be confused with Billboard South Africa Songs chart, although it should be added here also Thank you. dxneo (talk) 00:20, 19 May 2024 (UTC)[reply]

Alex 21, Muhandes, SD0001, SilverLocust, little help here please. dxneo (talk) 00:25, 19 May 2024 (UTC)[reply]
@Dxneo: I'm not promising I can do it, but where is the archive and how does one access a specific week? Muhandes (talk) 06:16, 19 May 2024 (UTC)[reply]

Hi @Muhandes:

Thank you. Cool Marc 01:12, 25 May 2024 (UTC)[reply]

@Coolmarc and Dxneo:
  • The current code looks for a |date= in the format YYYY-MM-DD, which does not match any of the new options. I am therefore not going to override it, in case some of the older charts were archived.
  • For 2021 charts, one needs to supply two dates which the template currently doesn't support. An ugly solution is to use |chartid=, e.g., |chartid=20-08-2021-to-26-08-2021. I am not going to implement it for now.
  • For 2022 onwards, I implemented a new chart South Africa2 which uses |week= and |year=. It is currently implemented in the sandbox, with two testcases implemented here. Note that nothing prevents anyone from using a year earlier than 2022 and creating nonsensical references. I can add code to prevent that, but the code is already quite complicated for this poor template, which was never meant to be used this way.
Let me know if the template is satisfactory. If so, either me or any other template editor can move it from the sandbox to the main template. Muhandes (talk) 13:59, 26 May 2024 (UTC)[reply]
That's perfect thank you so much. For the 2021 charts, they can just be referenced manually. Cool Marc 15:38, 26 May 2024 (UTC)[reply]
 Done I copied the sandbox to the main template. If you need my further involvement, be sure to ping me. Muhandes (talk) 07:31, 27 May 2024 (UTC)[reply]
Amazing, thank you. Cool Marc 07:40, 27 May 2024 (UTC)[reply]
Muhandes I noticed at the bottom of the article pages using the template, there is a category saying "Template:Single chart usages for South Africa", see Fe!n for example. I don't think it's supposed to be like that? Cool Marc 08:04, 27 May 2024 (UTC)[reply]
Just needed to create the tracking category Category:Single chart usages for South Africa2 (210). It should disappear from normal view now. Muhandes (talk) 10:58, 27 May 2024 (UTC)[reply]
@Muhandes, Coolmarc, and Dxneo: Thanks all for doing this. Just wondering that since the TOSAC's streaming and airplay charts are separate, should clarification maybe be made on the 'South Africa2' template that the streaming chart is the one being referred to? E.g. the 'Czechdigital' and 'Slovakdigital' streaming chart templates vs. 'Czech Republic' and 'Slovakia' airplay templates. cybertrip👽 ( 💬📝) 11:39, 27 May 2024 (UTC)[reply]
The Radio chart isn't notable. The streaming chart is what appears on the TOSAC website home page and the chart that's discussed in the media. Cool Marc 11:42, 27 May 2024 (UTC)[reply]
Coolmarc, and Cybertrip, actually it can be done. There's Category:South African Airplay Chart number-one singles. The chart would help expand the category somehow and it's only fair since the chart is cited in so many articles. Muhandes, why isn't |South Africa= scratched out since it doesn't seem to be working anymore? dxneo (talk) 12:43, 27 May 2024 (UTC)[reply]
@Coolmarc: I agree that the radio chart isn't notable, but that doesn't override the fact that it exists. So I'm not suggesting that a new template be created for airplay. Just that the word "Streaming" should be added somewhere on the template display just to distinguish it from the other. cybertrip👽 ( 💬📝) 14:43, 27 May 2024 (UTC)[reply]
@Dxneo: There are still many articles that use |South Africa= though - see Category: Single chart usages for South Africa. All the songs in this category will need updating to the new parameters. Richard3120 (talk) 14:49, 27 May 2024 (UTC)[reply]
@Cybertrip, I don't really see the need to differentiate, especially with "steaming" as there's only Streaming and Airplay and Airplay charts are always written "x-country Airplay". |South Africa Airplay= is the way to go.

@Richard3120, I just tried accessing the auto-generated/template generated link and it does not lead anywhere. There have multiple chart IDs that have been scratched out in the past. Why keep it if it doesn't work? With that being said, Category:Single chart usages for South Africa should be replaced with TOSAC or a similar cat should be introduced. dxneo (talk) 16:20, 27 May 2024 (UTC)[reply]
@Dxneo: That's my point – it's a tracking category that lists all of the songs that use the old, now defunct template that doesn't work. Someone needs to change all 154 song articles in this category to use the new template. The category will automatically depopulate as the articles are changed, and once it's empty, it can be removed. Richard3120 (talk) 17:41, 27 May 2024 (UTC)[reply]
@Richard3120, well that can never be. TOSAC only dates from 2021 and this chart id only supports chart dating from 2022. Those 154 songs charts can't be replaced. I get your point, but where do we go from here in terms of tracking TOSAC charts? dxneo (talk) 17:56, 27 May 2024 (UTC)[reply]
@Dxneo: Then they will have to be checked one by one to see if an archive URL exists for each of the EMA sources, and if there isn't then they will need to be removed from the chart table on each article. Richard3120 (talk) 18:37, 27 May 2024 (UTC)[reply]
Muhandes, thoughts on the Airplay charts? dxneo (talk) 21:26, 18 June 2024 (UTC)[reply]
@Dxneo: I have no opinion. I am only here to assist with implementing the consensus. Muhandes (talk) 07:10, 19 June 2024 (UTC)[reply]

Nigerian charts and certificates

[edit]

On 19 December 2020, TurnTable issued it's first weekly chart data in English.
It's prominent charts are TurnTable Top 100 Songs and TurnTable Top 100 Albums amongst the others. It also launched a certification system (TurnTable Certification System of Nigeria)


  • Top 100 Songs (chart data), I think the data can be accessed the same way as the South African charts.
  • Top 100 Albums (chart data), same applies here.
  • Certification (plaques)

Parameters:


Thoughts on this Muhandes? dxneo (talk) 22:05, 18 June 2024 (UTC)[reply]

@Dxneo: For the charts, can you please provide sample URLs for accessing the chart archives? Also, it is advisable (or maybe even required) to post at Template talk:Album chart and redirect discussion here, in case anyone has an opinion or can contribute to the discussion. Discussion about certifications are conducted at Template talk:Cite certification for the citation and at Template talk:Certification Table Entry for the certification table. I suggest you start discussion at the latter and invite discussion from the former. I will note that I do not see a source for the certification levels. Muhandes (talk) 07:38, 19 June 2024 (UTC)[reply]

Rename Mainstream Top 40 to Pop Airplay and Adult Top 40 to Adult Pop Airplay

[edit]

Hi @Muhandes:. Do you think you could rename the output for:

Thanks if you can. The Wiki article for the first was already located at Pop Airplay, and I've just moved the Adult Pop Airplay to that name. Ss112 15:11, 1 July 2024 (UTC)[reply]

@Ss112:  Done. Muhandes (talk) 15:29, 1 July 2024 (UTC)[reply]

Philippine Hot 100

[edit]

Hi! Can someone edit the article for the PH Hot 100? The chart was revived last week, dated July 6.

https://billboardphilippines.com/chart/ Deibu2007 (talk) 08:33, 3 July 2024 (UTC)[reply]

@Deibu2007: While, in principle, I see no reason why we can't revive the automatic referencing to Philippines Hot 100, I don't see an easy way to make it backwards compatible. The old referencing used an idiosyncratic format where, for example, you would use |date=november-13 to reference the November 13, 2017 chart, which is archived here. The new referencing method requires |date=07-06-2024 to reference the July 6, 2024 chart. As you can see, it may be difficult to identify which chart to use from the parameter alone.
The best solution is to archive all usage of Philippines and then use this code exclusively for the revived chart. This would probably require bot assistance and take some time. A simpler and more immediate solution is to introduce a new code, Philippines2, for the revived chart. Muhandes (talk) 10:34, 28 July 2024 (UTC)[reply]
Thank you for replying! Is there any work that I can do to make the chart work again, since I still don't know how some things work here? Deibu2007 (talk) 18:23, 28 July 2024 (UTC)[reply]

TopHit charts

[edit]

Hi, Somewhere around the beginning of 2024, TopHit made a major overhaul to their site, so that the format of the charts link changed slightly (because of that the template for Russia and Ukraine now leads to a 404 page). In addition to this, they added official Airplay charts for Belarus, Estonia, Latvia, Lithuania, Moldova and Romania. So if I could ask - could someone please fix the Russia and Ukraine template and add the countries mentioned above? They work exactly the same.

Regards. Szyign (talk) 23:01, 25 July 2024 (UTC)[reply]

@Muhandes I think I should ping you there :) Szyign (talk) 07:17, 28 July 2024 (UTC)[reply]
@Szyign: I'd like to help, but this change seems quite significant. I believe further research is needed before addressing it. For instance, I examined the song "Way Down We Go" on the "Top Radio Hits Russia Weekly Chart," and found some discrepancies:
  • In the old chart, the song peaked at #1 during the week of July 3 - July 9, 2017. The original version (now unavailable) was at tophit.com/chart/top/radio/hits/russia/weekly/2017-07-03, and you can view the archived version here.
  • In the new chart, it peaked at #4 during the week of June 30 - July 6, 2017. The original link is tophit.com/chart/top/radio/hits/ru/weekly/20170630-20170706 and the archived link is here.
As you can see, the definition of the week has changed, affecting the peak positions. Additionally, the single release dates differ (March 31, 2016 vs. April 12, 2016). This raises two issues: first, backward compatibility is impossible due to the chart's non-existence and differing data, potentially questioning data reliability. Second, generating a URL for the new chart based on date is no longer straightforward. Perhaps using |chartid= or in this specific case, |chartid=20170630-20170706 could be a solution. However, this requires further investigation rather than an immediate solution. --Muhandes (talk) 08:50, 28 July 2024 (UTC)[reply]
I understand... yeah they kinda messed it up. Maybe new template like Russia2 or something like that could help to seperate it? Szyign (talk) 08:52, 28 July 2024 (UTC)[reply]
That might be an appropriate solution. I just noticed the same request was made three months ago by Sanslogique (and a comment by CeolAnGhra). The solution they proposed does did not seem to address the backward compatibility issue. Perhaps they would like to comment here. Muhandes (talk) 09:01, 28 July 2024 (UTC)[reply]

Czech Republic and Slovakia ČNS IFPI Charts

[edit]

I also forgot to mention - there was also an overhaul on the ČNS IFPI website, apart from the fact that now the link in the template takes you to the 404 page because it has been slightly modified, they renovated pages for artist discographies and separate ones for peaks singles history. I don't know if it would be possible to make a template for peak history straight away, but it would certainly be useful to fix the 404 problem. Thanks in advance @Muhandes Szyign (talk) 08:56, 28 July 2024 (UTC)[reply]

@Szyign: This was already requested two months ago by CeolAnGhra. Since this is more recent, I suggest continuing the discussion here, and they can join us.
  • A straightforward solution to the 404 error for the Czech Republic charts (Czech Republic and Czechdigital) is possible. It even improves referencing slightly, as shown in the side-by-side comparison here. I am awaiting your approval regarding the wording I used.
  • Introducing a |chartid= option is also possible. For example, |chartid=2912 will point directly to 28. týden 2024 instead of requiring |year=2024 and |week=28. However, this approach is less straightforward, so we can consider it as a second step if there is interest.
  • A solution for the Slovak charts (Slovak/Slovakia and Slovakdigital) is less straightforward. Before the overhaul, Hitparadask contained Rádio Top 100 archives from 200635 to 201634 and Singles Digitál Top 100 archives from 201426 to 201634, while Hitparada contained Rádio Top 100 and Singles Digitál Top 100 archives from 201643 onwards. The charts available after the overhaul are Radio Top 100 and Singles Digital Top 100, both of which start at 201643. I'm unsure if there is a way to access older charts and how to keep the code backward compatible so that at least archived versions are referenceable. I will need someone to look deeper into this before committing to any solution.
Muhandes (talk) 10:02, 28 July 2024 (UTC)[reply]