Template talk:Single chart

(Redirected from Template talk:Single chart/sandbox)
Latest comment: 22 days ago by Szyign in topic CIS template

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

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
Hello Muhandes, I finally found the archives for
|Nigeria Top 100 (TurnTable)=
But I have a little problem, firstly here's the archive, they use "mdy-mdy". The thing is when I tested the URL yesterday it was longer directing me to an error 404 page and I was so happy, but now it's literally going to the latest charts no matter how I try to tweak the dates. Could you please try to check if you can get it to work? dxneo (talk) 01:13, 19 September 2024 (UTC)Reply
@Dxneo: If it ever worked this way, it doesn't work now. Muhandes (talk) 15:00, 19 September 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
@Deibu2007: I can't think of anything. At this point we wait a few days to see if anyone has anything to add to the discussion. Muhandes (talk) 18:54, 28 July 2024 (UTC)Reply
@Deibu2007: Per your request I implemented Philippines2 in the sandbox and you can see the result here. After I implemented it, I did some more testing, and realized the same data can some times be accessed, like all other Billboard charts, through the artist history page, e.g. Sabrina Carpenter or Tommy Richman. I'm not really sure what to do with this information, so let's see if anyone is interested in this at all. --Muhandes (talk) 15:29, 12 August 2024 (UTC)Reply
@Deibu2007: It seems like there is no interest in further investing in this, so I implemented Philippines2 for the relaunched chart using |date=. This is now   Done. Muhandes (talk) 09:00, 23 September 2024 (UTC)Reply
Thank you so much! Deibu2007 (talk) 01:46, 24 September 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
I raised some concerns about data reliability and backwards compatibility. I'm pinging anyone who showed interest in the Russia chart to comment (Sanslogique, CeolAnGhra, Szyign, dxneo). If no one has any interest in resolving these issues, I rather not spend my time on it. Muhandes (talk) 15:38, 12 August 2024 (UTC)Reply
I recently got in touch via email with TopHit employers, I could ask them for help to repair some issues for us, but first I would need to know what exactly we need from them to fix... Szyign (talk) 16:00, 12 August 2024 (UTC)Reply
@Szyign: I gave an example above. How are we to know what was the peak for "Way Down We Go" in Russia? When was the single released? We now have two inconsistent sets of data. Muhandes (talk) 07:22, 13 August 2024 (UTC)Reply
Okay, I send your explanation to TopHit and asked them why they changed it like that and if they fix it somehow, if they answer me I will let you know! Szyign (talk) 09:37, 13 August 2024 (UTC)Reply

I support making changes to the template as I suggested. At the same time, I propose to invalidate the chart template for the CIS, because it takes into account data not from CIS countries, but from all countries in general where the TopHit system operates (the USA, for example). Today, when we have an archive of charts from Russia, Ukraine and others since 2003, this generalizing chart does not make sense.--Sanslogique (talk) 16:24, 12 August 2024 (UTC)Reply

@Sanslogique: I saw and acknowledged your suggestion. However, it does not address the two concerns I raised earlier. Let me briefly summarize:
First, the peaks from the old and new charts are inconsistent, raising concerns about data reliability. Even the single release dates differ. Second, there's no way to make this backwards compatible. Although I could address the second concern by using Russia2 and |chartid=, this wouldn't resolve the first issue.
Regarding your new request to invalidate the CIS chart, that chart no longer exists, so the issue is moot. dxneo requested adding the new "TopHit Global 100" chart instead. I objected below, and it seems you share my concerns. Muhandes (talk) 07:21, 13 August 2024 (UTC)Reply
@Muhandes: I think we have no choice but to accept the new chart data as the truth and focus on them, since a complete archive of all countries has been opened. As for the template, I suggest leaving everything as it is, and correcting inaccurate positions as far as possible. (For example: "Top Radio Hits Russia Weekly Chart: June 20, 2024". TopHit. Retrieved August 13, 2024. – {{single chart|Russia|3|chartid=20240614-20240620|date=June 20, 2024|access-date=August 13, 2024}})--Sanslogique (talk) 13:51, 13 August 2024 (UTC)Reply
And if they decide to restructure the chart data again, are we supposed to just accept it and move on again? Compatibility and reliability is key. Are we gonna have to sets of data from one country or…? As Muhandes said, they have archives dating back to 2003 of which some charts were not even available at that time.

Question: I bilieve TopHit is not a country thing like TOSAC and such, thus it has Global charts. So, if TopHit has US radio chart and radio chart for other countries, do they correspond with the radio charts from those countries or…? dxneo (talk) 14:13, 13 August 2024 (UTC)Reply
@Dxneo I think we all agree that reliability is important, but on the other hand, we are stuck with what we have. If we don't add the option to this template, editors will use the chart anyway without the template.
As for your question, TopHit uses their own data. If some country has a radio chart which is not based on TopHit data, the charts will disagree. For examples, Latvia has a chart of their own which is completely different from TopHit's and so does Lithuania. We need to think carefully if we want to add TopHit charts for such countries. This goes without saying for Germany, Poland, Romania, Spain, UK, and the USA, which is why @Sanslogique didn't ask for TopHit charts for those regions. Muhandes (talk) 11:38, 5 September 2024 (UTC)Reply
@Sanslogique If I understand correctly, you are suggesting that |date= remains mandatory, while if |chartid= is present, the template will understand that this is the second incarnation of the TopHit charts and if it is not present, it will revert to the first incarnation. Is my understanding correct? Muhandes (talk) 11:38, 5 September 2024 (UTC)Reply
Yes--Sanslogique (talk) 04:46, 8 September 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
I think your suggestion for fixing the 404 error for Czech Republic is exactly what I had in mind. As for the second option - I think that of course if possible it could be added as optional, i.e. so that the old option of manually specifying which week you are referring to is still available to those who prefer it, and those who find it easier to specify chartid could do it this way. As for the deleted archives - I think they have removed them from the site completely. The only way to get them back is through web.archive, unfortunately. Unless they're tucked away somewhere in the depths of the site, because honestly I find it a bit cumbersome to navigate there. Szyign (talk) 22:12, 28 July 2024 (UTC)Reply
@Szyign: Since the changes to Czech Republic and Czechdigital seemed harmless, I applied them without waiting for further consensus. The application of |chartid= will wait. As for the application of any changes to Slovak, Slovakia, and Slovakdigital, I think it is prudent to wait a bit, as someone else might want to contribute to the discussion.   Half done. Muhandes (talk) 09:18, 30 July 2024 (UTC)Reply
Okay, thank you! Szyign (talk) 10:40, 30 July 2024 (UTC)Reply
@Szyign, @CeolAnGhra: Since I couldn't find a way to make Slovak/Slovakia and Slovakdigital backwards compatible, I implemented Slovak2/Slovakia2 and Slovakdigital2 for the new charts. The old charts are marked as defunct and will continue returning 404 errors until someone reviews them and either archives or replaces them with the new versions. This is now   Done. Muhandes (talk) 09:44, 23 September 2024 (UTC)Reply
Thanks! Szyign (talk) 11:30, 23 September 2024 (UTC)Reply
What was the issue with backward compatibility? -- mikeblas (talk) 17:05, 30 September 2024 (UTC)Reply
Quoting myself: 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.
This means that if we just replaced the target, we would have lost the link to all archived charts before 201643. With a 404 you can at least try to find an archived version. Come to think of it, perhaps marking the older chart with [dead link] is also required. Muhandes (talk) 17:28, 30 September 2024 (UTC)Reply

IFPI Greece

edit

Hi again, until today I was convinced that it is impossible to make a template for the Greek charts by their lack of archives on the site, but I see that the template for the Greek certificates functions as such:

{{Certification Table Entry|region=Greece|type=single|award=Gold|artist=Eminem|title=Houdini|relyear=2024|certear=2024|certweek=30|id=20240731061304|archive-date=31 July 2024|access-date=31 July 2024}}

So I would like to ask - is it possible to do something similar for the charts alone? Szyign (talk) 22:24, 6 August 2024 (UTC)Reply

@Szyign: It's technically possible, but no other chart uses this citation method, so I'd hesitate to open this door. The fact that not all charts are available, means you can never be sure a peak is correct. Muhandes (talk) 14:41, 7 August 2024 (UTC)Reply

Sanmarinese airplay chart

edit

And a similiar example, I recently started adding archived peaks for airplay chart of official airplay charts by San Marino RTV. Is it possible to do something like with an example I mentioned in Greece? Here's the link to the charts (it's well archived via web.archive.org): https://www.sanmarinortv.sm/radio/radio-san-marino/top-50-ascoltare And here's the example how I see it with the title etc.:

|-
! scope="row"| San Marino ([[San Marino RTV|SMRRTV Top 50]])<ref>{{cite web|url=https://www.sanmarinortv.sm/radio/radio-san-marino/top-50-ascoltare|title=Top 50 – Radio San Marino RTV – 14/03/2024|language=it|publisher=[[San Marino RTV]]|date=14 March 2024|access-date=22 March 2024|archive-date=14 March 2024|archive-url=https://web.archive.org/web/20240314101854/https://www.sanmarinortv.sm/radio/radio-san-marino/top-50-ascoltare}}</ref>
| 1
|-

Szyign (talk) 22:27, 6 August 2024 (UTC)Reply

@Muhandes forgot to mention you again ;) Szyign (talk) 22:29, 6 August 2024 (UTC)Reply
@Szyign: Isn't this a WP:SINGLEVENDOR? Do you have sources about the methodology they use? Muhandes (talk) 14:28, 7 August 2024 (UTC)Reply
@Muhandes It is more a question of logic. There are literally no other radios operating and registered in San Marino. Consequently, it must be the official Airplay, as no more stations exist there.... Szyign (talk) 22:31, 8 August 2024 (UTC)Reply
@Szyign: I understand your point, but this still leaves airplay in this region as a subjective decision made by one station. Is this content truly encyclopedic? Should we add it to thousands of pages? I'm undecided, but I don't think this should be resolved in a template discussion with such low participation. Perhaps you could encourage more input at Wikipedia talk:Record charts? Muhandes (talk) 08:11, 9 August 2024 (UTC)Reply

Russia and TopHit

edit

Firstly, {{single chart|Russia|1|artist=Billie Eilish|week=20240801|rowheader=true}} does not work anymore because of |week=20240801 which is now |week=20240801-20240801 and the url no longer writes russia in full but only ru. I hope that made sense, this is some confusing stuff.

Moving on to TopHit (Global), it is mistakenly used for Russian charts whereas it seperates regions, I just found out about this like a minute ago.


I was wondering if you could make an identifier for Russia (main chart + radio play) and maybe TopHit Global 100 chart just like Billboard Global 200. Open for discussion. Special ping: Muhandes. dxneo (talk) 08:25, 8 August 2024 (UTC)Reply

@Dxneo: The technical issue with the Russia TopHit tables has already been discussed twice: here and here. Starting a third discussion on the same topic seems redundant. I raised some concerns in the second discussion, and you're welcome to comment there.
The suggestion to add the TopHit Global 100 chart is new. While I usually focus on technical issues rather than content, I have serious concerns about this chart. It was announced in May 2024, yet it has archives dating back to November 2003. How are they combining regions, especially before 2023 when only the Russian chart existed? Adding this chart based on such data seems problematic. Muhandes (talk) 10:17, 8 August 2024 (UTC)Reply

Brasil Hot 100

edit

Hello. Billboard Brasil Hot 100 returned in August 2023 with a new formula. Now the rankings are based on streaming. Could someone add?

|Brazil2
|Brasil2
|Billboardbrasilhot1002={{!}}Brazil ([[Brasil Hot 100]]){{#tag:ref|{{#if:{{{artist|}}}||{{main other|[[Category:Single chart used with missing parameters]]}}<span style="color:red;">ERROR: Billboard chart was invoked without providing an artist. Artist is a mandatory field for this call.</span>}}[https://www.billboard.com/artist/{{#invoke:WLink|ansiPercent|{{#invoke:String|replace|{{{artist}}}|&|%26}}|space=-}}/chart-history/BZL "{{{artist}}} Chart History (Brasil Hot 100)"]. [[Billboard (magazine)|''Billboard'']]. {{#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}}}

Rangel's Version (talk) 14:19, 26 September 2024 (UTC)Reply

@Muhandes Rangel's Version (talk) 15:01, 26 September 2024 (UTC)Reply
@Rangel's Version I don't like it, but it is the way all other Billboard charts are implemented, so   Done. Muhandes (talk) 15:17, 26 September 2024 (UTC)Reply
thank u :) Rangel's Version (talk) 15:31, 26 September 2024 (UTC)Reply

Protected template edit

edit

"Official German Chart": unless this is a proper noun, please change it to "official German chart". HandsomeFella (talk) 17:37, 13 October 2024 (UTC)Reply

Any reason not to use GfK Entertainment charts directly? It seems like that is the official name of the chart. Muhandes (talk) 10:15, 14 October 2024 (UTC)Reply
To match the others, it should probably be Germany (GfK). --Ahecht (TALK
PAGE
)
21:20, 17 October 2024 (UTC)Reply
I agree.   Done Muhandes (talk) 12:16, 18 October 2024 (UTC)Reply

CIS template

edit

Hi, I'm wondering - if the templates of Russia and Ukraine for TopHit have Airplay in their name, why the same list but from CIS does not have Airplay in it's name? I think it should also have it, since we don't use All Media as general charts from Tophit anyway. Szyign (talk) 12:33, 18 October 2024 (UTC)Reply