This is an archive of past discussions about Template:Single chart. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
@Unreal7: I've been noticing that too. For some reason, the URLs are pointing to an archive link that doesn't exist, like this for example for Apologize by OneRepublic. The correct link would be this one instead. Maybe the OCC changed their URLs around? --MrLinkinPark333 (talk) 23:28, 4 June 2017 (UTC)
It has previously been pointed out that Ireland no longer archives at chart-track.co.uk and that irishcharts.ie only archives the top 30. Could this maybe be added as an additional entry to cover the peaks that fall outside the top 30? It corresponds to the Ireland2 entry on Template:Album chart (using the archives at http://irish-charts.com/), but as there is already and "Ireland" and "Ireland2" entry for this template, it could be added as "Ireland3". I've just replaced "Irish Albums" with the country per the rest of the entries here, and "album" with "song" (and "Album chart" with "Single chart"). The code is as follows:
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Can someone update all the UK chart links? The old links (for example) used to redirect to the new ones, but now all old links redirect to the current UK Singles Chart date. snapsnap(talk)15:51, 7 August 2017 (UTC)
All the specific Billboard chart pages linked using the singlechart templates now just go to a general artist page. Here is an example using The Weekend and the R&B/Hip-Hop Songs chart of the difference between the old URL and new URL for each artist and chart page if someone wanted to tackle this. --StarcheerspeaksnewslostwarsTalk to me18:02, 4 October 2017 (UTC)
This edit request to Template:Single chart has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Some URLs have a YYYYMMDD format that isn't being followed (namely, hyphens are being inserted in to the date). Can we add some flexibility to the template to cover these instances? It's basically just adding {{digits}} to strip out the hyphens and whatnot. Change these:
[http://www.officialcharts.com/charts/scottish-singles-chart/{{{date}}}/41/ "Official Scottish Singles Sales Chart Top 100"]
[http://www.officialcharts.com/charts/r-and-b-singles-chart/{{{date}}}/114/ "Official R&B Singles Chart Top 40"]
[http://www.officialcharts.com/charts/rock-and-metal-singles-chart/{{{date}}}/111/ "Official Rock & Metal Singles Chart Top 40"]
[http://www.officialcharts.com/charts/independent-singles-chart/{{{date}}}/130/ "Official Independent Singles Chart Top 50"]
[http://www.officialcharts.com/charts/audio-streaming-chart/{{{date}}}/7507/ "Official Audio Streaming Chart Top 100"]
[http://www.officialcharts.com/charts/singles-chart/{{{date}}}/7501/ "Official Singles Chart Top 100"]
[http://www.officialcharts.com/charts/dance-singles-chart/{{{date}}}/104/ "Official Dance Singles Chart Top 40"]
[http://www.officialcharts.com/charts/singles-downloads-chart/{{{date}}}/7000/ "Official Singles Downloads Chart Top 100"]
[http://lescharts.com/weekchart.asp?cat=si&date={{{date}}} lescharts.com – Les charts français"]
to these:
[http://www.officialcharts.com/charts/scottish-singles-chart/{{digits|{{{date}}}}}/41/ "Official Scottish Singles Sales Chart Top 100"]
[http://www.officialcharts.com/charts/r-and-b-singles-chart/{{digits|{{{date}}}}}/114/ "Official R&B Singles Chart Top 40"]
[http://www.officialcharts.com/charts/rock-and-metal-singles-chart/{{digits|{{{date}}}}}/111/ "Official Rock & Metal Singles Chart Top 40"]
[http://www.officialcharts.com/charts/independent-singles-chart/{{digits|{{{date}}}}}/130/ "Official Independent Singles Chart Top 50"]
[http://www.officialcharts.com/charts/audio-streaming-chart/{{digits|{{{date}}}}}/7507/ "Official Audio Streaming Chart Top 100"]
[http://www.officialcharts.com/charts/singles-chart/{{digits|{{{date}}}}}/7501/ "Official Singles Chart Top 100"]
[http://www.officialcharts.com/charts/dance-singles-chart/{{digits|{{{date}}}}}/104/ "Official Dance Singles Chart Top 40"]
[http://www.officialcharts.com/charts/singles-downloads-chart/{{digits|{{{date}}}}}/7000/ "Official Singles Downloads Chart Top 100"]
[http://lescharts.com/weekchart.asp?cat=si&date={{digits|{{{date}}}}} lescharts.com – Les charts français"]
This was originally a bot request; however, changing the template to accommodate more instances instead of fixing them all would be more proactive. Thanks! Nihlus12:55, 6 October 2017 (UTC)
@Nihlus: Done. Please test the results in "live" pages; if you made a bot cleanup request, I assume you have a list of affected pages. — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 22:18, 6 October 2017 (UTC)
Duplicate ref def from this template?
This template pretty frequently causes problems with defining duplicate reference definitions. Can anything be done to help diagnose the problems, in general?
is it a bug? Looks to me like the UKDance portion of the template ignores the refname parameter:
UKdance={{!}}{{#if:{{{date|}}}|[[UK Dance Chart{{!}}UK Dance]] (Official Charts Company)|[[Category:Singlechart used with missing parameters]]<span style="color:red;">ERROR: MUST PROVIDE DATE FOR UK DANCE CHART</span>}}{{#tag:ref|[http://www.officialcharts.com/charts/dance-singles-chart/{{{date}}}/104/ "Official Dance Singles Chart Top 40"]. [[Official Charts Company]]. {{#if:{{{publishdate|}}}|{{{publishdate}}}. }} {{#if:{{{accessdate|}}}| Retrieved {{{accessdate}}}. }}|name="sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
Shouldn't the code around name= should be something more like this:
so that it considers the refname parameter instead of building a name from scratch using the date and artist? -- Mikeblas (talk) 14:30, 5 October 2017 (UTC)
Singlechart usages dead links and verification failures
As of now, following another revamp of the Billboard website, the Billboard Biz chart search is not functional, creating dead links for these charts when using the singlechart template:
Bubbling Under Hot 100 Singles
Canada AC
Canada CHR/Top 40
Canada Country
Canada Hot AC
Canada Rock
Usages of the following charts with the singlechart template go to the artist page on Billboard.com which allows one to access an artist's chart history, but none of these charts are possible options which means those links fail verification.
This may have been a temporary glitch for the Billboard Biz chart search as I am getting directed to proper URLs when checking links for these charts; the latter four still have the same issue. Thanks. --StarcheerspeaksnewslostwarsTalk to me00:25, 12 October 2017 (UTC)
Name defined multiple times
The example given in the template page shows an error message for shakira ("sc_Italy_Shakira" defined multiple times with different content"), is it possible to fix that? I saw the same message in September (Earth, Wind & Fire song) where charts were given for two different versions, "September" and "September 99 (Phats & Small Remix)". I'm sure there are more of these error messages littering the reference sections of many articles, when there isn't actually a real error but an inability of the template to handle more than two entries for the same artist. 15:45, 9 October 2017 (UTC)
Excellent, thank you. I'm curious though, how does adding a refname parameter change the way it parse the entry, and is this workaround something always existed or something new? — Preceding unsigned comment added by Starcheerspeaksnewslostwars (talk • contribs) 2017-10-11T17:25:12 (UTC)
The refname parameter is documented. It's not new; at least, it's not very recent. The refname parameter gives a name to be used in the <ref name="here"> tag. I two such tags are encountered on teh same page, it causes an error when the page is displayed, and obscures at least one of the references. I actively try to hunt down such errors and fix them. Category:Pages with duplicate reference names lists all the pages that have such errors. -- Mikeblas (talk) 14:47, 17 October 2017 (UTC)
Billboard URLs and artist name encoding
Resolved
– Billboard URLs updated as of Nov. 2017.
I updated the sandbox with an almost-working version of the new Billboard URL system, however I'm still having an issue with how artist names are being encoded. Namely, spaces are being replaced with a '+' where we need them to be a hyphen (ex. where artist="Taylor Swift", the URL generates "http://www.billboard.com/music/taylor+swift/chart-history/hot-100" which does not work, while it should be "http://www.billboard.com/music/taylor-swift/chart-history/hot-100" etc.). Is there a better solution than the {{BillboardEncode}} template to convert the names into a hyphenated format? Or does anyone know how to develope a new template that we can use instead?
On the bright side, for single named artists like Adele or artists with a specific entry in the corresponding BillboardEncode/{letter} sub-template, the updates I made work... Songsteel (talk) 23:45, 23 October 2017 (UTC)
@Songsteel: Hung Medien charts use {{#invoke:WLink|ansiPercent|{{#invoke:String|replace|{{{artist}}}|&|%26}}|space=+}} to replace spaces with plus signs. Perhaps we could use that to replace spaces with hyphens in Billboard charts. snapsnap(talk)14:37, 3 November 2017 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
I would like to request that the Billboard charts get updated with the website's new URL format. I have made the changes... and then improved the changes in the sandbox and successfully tested them. Currently most charts technically fail verification as they do not redirect well. Thanks! Songsteel (talk) 22:01, 3 November 2017 (UTC)
@Songsteel: Not done just yet; did you copy the current template into the sandbox before working on the sandbox? I see other changes in there, like removing {{digits}}, and changing the name of a French chart, when I put the sandbox material into the real template page and do "Show changes". — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 06:32, 4 November 2017 (UTC)
@SMcCandlish: I had not thought of that and just started working in the version that was already in the sandbox. I have now copied over everything from the main template before and after the billboard charts I have modified in the sandbox. Thanks. Songsteel (talk) 17:07, 4 November 2017 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Can the URLs for the Slovakian (Slovakia and Slovakdigital) entries please be changed? They currently link to http://www.ifpicr.cz/hitparadask/index.php?hitp=R, which shows an outdated version of the website that the Czech and Slovakian charts are published on. The Czech entries use http://www.ifpicr.cz/hitparada/index.php?hitp=R (note the absence of the "sk" after "hitparada"), which then allows users to select the Slovakian charts from the drop-down menu and then the proper year and week. The "hitparadask" URL only allows entries from 2016 back. So, I'm essentially just asking for the "sk" to be deleted from the URLs of the Slovak and Slovakdigital entries to show an updated version of the website. Thanks. Ss11212:11, 7 November 2017 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
I've added HTTPS where applicable, as well as missing periods to Billboard entries. I've also fixed/updated the Billboard Smooth Jazz Songs and Dutch Top 40 entries. All changes were successfully tested. Thanks. snapsnap(talk)19:44, 30 December 2017 (UTC)
@SnapSnap: Done, but see next thread (or, rather, its subthread). — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 01:27, 2 January 2018 (UTC) PS: See also Bilboard Canada thread above, if you want to work up another sandbox. May as well fix all this at once. I did fix the thing below about "smash-mouth" versus "smash%20mouth" (which was actually a base URL problem, not an encoding one) since that was an easy add-on to your last sandboxing. I would do all this given enough time, but I don't have it right now. — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 01:30, 2 January 2018 (UTC)
@SMcCandlish: Done. I fixed all the entries mentioned above, as well as the Czech and Slovak entries. Some of the charts are actually viewable at Billboard.com (see [1] and [2]), but under incorrect chart names. I still reverted back to the previous codes to avoid confusion. snapsnap(talk)04:38, 2 January 2018 (UTC)
Can you re-explain this? I'm having a little trouble following it. Not that I'm "the maintainer" of this template or anything; I just end up answered edit requests at it pretty frequently. I didn't have anything to do with its design, so I'm not sure what the issue is, or even what OCC is or what archives you're referring to, nor what the intent of the category is. — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 14:48, 10 January 2018 (UTC) Ping: MrLinkinPark333. — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 16:33, 10 January 2018 (UTC)
Sure thing. This category was created because of this reason. As UKChartStats is no longer used in the single chart, any usage of UKChartStats are redirected to the artist's discography on the Offical Charts Company (OCC). While songs/albums from position #1-100 are on the artist's discography, any song/albums that charted in the 101-200 positions are not archived on the OCC. For example, Axis (song) says the song charted at #196 on the Official Charts Company. Since the UKChartStats template redirects to the Pet Shop Boys discography page, the website does not show if the song did indeed chart at #196 anywhere on the website. --MrLinkinPark333 (talk) 19:41, 10 January 2018 (UTC)
BillboardURLbyName update request
Hello again. I would like to request that the Billboard URL by Name template to be updated because of the changes to the Billboard URL as seen above. For example, the BillboardURLbyName templates here in It's Goin' Down (X-Ecutioners song) are broken and I presume that other usages of the template are not working as well. Thanks. --MrLinkinPark333 (talk) 18:25, 14 January 2018 (UTC)
Someone has adjusted the template for the Billboard Canada Rock chart so that it no longer sources from the Billboard Biz website but from the standard Billboard website which does not archive this chart in full. For example, for Foo Fighters, it only archives just over half of their songs that were on that chart:[3]. Therefore it needs to be changed back.QuintusPetillius (talk) 18:08, 28 November 2017 (UTC)
I noted this above and will be the same for the following charts, whose sources in the template should not have been updated: --StarcheerspeaksnewslostwarsTalk to me06:01, 7 December 2017 (UTC)
Bubbling Under Hot 100 Singles
Canada AC
Canada CHR/Top 40
Canada Country
Canada Hot AC
Canada Rock
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
The above 6 charts need to be reverted to the previous code such as below for the Canada Country chart. These charts are not viewable through Billboard.com and only through their business site at Billboard.com/biz. The page history will show the proper parameters for each. Thanks. StarcheerspeaksnewslostwarsTalk to me21:21, 1 January 2018 (UTC)
|Billboardcanadacountry={{!}}Canada [[Canada Country|Country]] (''[[Billboard (magazine)|Billboard]]''){{#tag:ref|{{#if:{{{artist|}}}||[[Category:Singlechart 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>}}[http://www.billboard.com/biz/search/charts?f%5B0%5D=ts_chart_artistname%3A{{BillboardEncode|{{{artist}}}}}&f%5B1%5D=itm_field_chart_id%3A1240&f%5B2%5D=ss_bb_type%3Achart_item&type=2&artist={{BillboardEncode|{{{artist}}}}} "{{{artist}}} – Chart history"] [[Canada Country|''Billboard'' Canada Country]] for {{{artist}}}. {{#if:{{{publishdate|}}}|{{{publishdate}}}. }} {{#if:{{{accessdate|}}}| Retrieved {{{accessdate}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
I'm a little late on the scene this time; will let this lie as-is unless I'm told there's still an issue to work on. — SMcCandlish☏¢ >ʌⱷ҅ᴥⱷʌ< 14:44, 10 January 2018 (UTC)
@QuintusPetillius:@Starcheerspeaksnewslostwars:@SMcCandlish:HMM? I'm a little confused here. From my experience, the archives on Billboard.com show peak positions for more songs than the Billboard Biz site (with records going back to 2006 instead of 2012) and is updated more regularly. The chart is labelled incorrectly on the page (for example "https://www.billboard.com/music/Carrie-Underwood/chart-history/canada-country" shows Hot 100 in the box) but the peaks are consistent with the chart in the URL (in this case, Canada Country). Using the same example, this page of #1s are clearly not Hot 100 number-ones. You need to manually adjust the URL to see more than the default 10 songs displayed per page, i.e ".../canada-country/2", instead of clicking "more chart history" or else it brings you to page 2 of the chart listed in the box. This may be why some people have experienced seeing fewer songs archived. To use the requester's Foo Fighters example, the Billboard.com archive has peaks for 18 songs (10 on the landing page, and another 8 at ".../canada-rock/2"), while the Billboard Biz archive has peaks for only 6 songs, from "Something from Nothing" through "The Sky Is a Neighborhood". Not sure why we would want to use a less comprehensive referencing schema. Songsteel (talk) 19:05, 15 January 2018 (UTC)
@Songsteel: I agree. The most recent change to the template by @MSGJ: with the summary "fixes by SnapSnap" has actually reverted the helpful changes you proposed/made, Songsteel, to the Billboard links. These are no longer archived on billboard.com/biz, which has had updating problems in its archives for the past few months (as Billboard appears to have moved them over to its main website). The changes that were made to the URLs of the Bubbling Under Hot 100, Canada AC, Canada CHR/Top 40, Canada Country, Canada Hot AC, and Canada Rock need to be undone (and go back to this) as they are not helpful. Ss11218:43, 16 January 2018 (UTC)
It certainly appears to be more accurate picture at the .com site again, although you can't say it truly verifies the info because it's not what the site says. Even if you click on the specific chart week for each song from the list on Billboard, it will go to the Hot 100 for that week. What's the true source that tells someone these are the actual peaks for those specific Canada charts? --StarcheerspeaksnewslostwarsTalk to me17:21, 17 January 2018 (UTC)
Billboard has always had some little errors here and there, including on billboard.com/biz (which no longer updates). Considering it's what shows up when the URL for that specific chart is typed in—that's what we have to go on until Billboard fixes the error. Ss11202:32, 19 January 2018 (UTC)
Ireland Singles
IRMA now has the date search for the singles as seen here. Can the template be updated so that post Dec 2016 listings it will use this URL? —IB[ Poke ]10:15, 7 May 2018 (UTC)
The irma.ie website isn't used at all by the template, so I don't think we need this update. There are three different chart websites for this template that mirror the IRMA results though. Apart from that I'm not sure if the official IRMA site could even be included because the search there is performed by some Java script and apparently the parameters cannot be entered directly into a url. De728631 (talk) 11:41, 7 May 2018 (UTC)
@De728631: on the contrary I think this would be needed since Chart-track.co.uk has stopped updating the singles charts after 2016, Irishcharts.ie do not show you positions below rank 30, and Irish-charts.com do not update artist discography page. —IB[ Poke ]12:13, 7 May 2018 (UTC)
The Official Charts Company have changed the web addresses for an individual artist's page, so that they are now identified by an ID number, similar to how the Billboard website used to be. This affects the "uksinglesbyname" parameter in this template, as it now directs to a search page rather than directly to the artist's page. For example, for Michael Jackson the old link http://www.officialcharts.com/search/artists/michael jackson is now http://www.officialcharts.com/artist/16519/michael-jackson/, and for Madonna http://www.officialcharts.com/search/artists/madonna/ is now http://www.officialcharts.com/artist/28948/madonna/.
It's not the end of the world, of course, but I don't suppose there is a way to link "uksinglesbyname" directly to the artist's page any more? It would presumably mean knowing the artist's ID number on the OCC website beforehand, and I don't know if there's any way of linking that directly through an extra "artistID" parameter. Richard3120 (talk) 15:56, 16 June 2018 (UTC)
@Richard3120: We can add the artistID parameter. That way if you supply it then the link will be directly to the page. If you don't supply the artistID then the link will be to the search page, and we can add a comment to the citation, something on the lines of "click artist name from the search results". Ping me if you wish to implement this. --Muhandes (talk) 11:00, 22 June 2018 (UTC)
Apologies Muhandes, I forgot about this. I'm not sure it's going to be worth doing, because nobody is going to know the artist ID unless they go.searching for it, which then makes it redundant because the point is to avoid the search in the first place. So maybe we should just leave it as it is. Richard3120 (talk) 15:35, 28 June 2018 (UTC)
Possible templates for Romanian charts
Hi there! I wondered if we could introduce templates for Romania's record charts? The Airplay 100, Romania's current national singles chart based on radio and television airplay, has consistent storage here on their website. Each edition is aired as a Romanian language podcast and is sorted by date on their website. Each podcast also has its own link as seen here; you just have to change the id for a different podcast (the ids for the different podcasts are shown when you reach the 'download' option with your cursor (but don't clik it) next to each podcast here ↓). I think a possible template for the Airplay 100 should look something like this.
Media Forest, the compiler of the Airplay 100, also publishes split radio and television airplay charts (top 10 foreign and Romanian songs each). The storage for their charts is also consistent on their website, and every chart edition has its own link. See this for how I think templates for Media Forest's radio and television airplay charts sh/(c)ould be designed. Many thanks to all of you! Please ping me for comments, if possible... Best; Cartoon network freak (talk) 16:55, 10 June 2018 (UTC)
@Cartoon network freak: For the podcasts, I haven't followed discussions so I'm not sure we have consensus on interpreting audio podcasts into chart rankings. I see no problem in implementing the Media Forest tables if you will fine it useful. Let me know. --Muhandes (talk) 11:39, 22 June 2018 (UTC)
@Muhandes: Ping me when you're ready, if possible and please remember that the templates for both Media Forest charts should look something like in the article I've linked above. The notes are especially important! Thank you! Cartoon network freak (talk) 20:13, 24 June 2018 (UTC)
@Cartoon network freak: I've been trying to add the Romanian charts, but I am having troubles getting the url to work the way it should. Here is an example:
This was supposed to link to week 1 of year 2017. Instead it links to week 19. Any idea where I'm going wrong? --Muhandes (talk) 10:50, 28 June 2018 (UTC)
@Muhandes: The week should be "01" in this case (a zero is always put in front up until the tenth week). I don't think you should name the template "{{Single chart|Romania..." but rather "{{Single chart|Romaniaradioairplay...". As it stands now, users may think that this is Romania's national chart, which it isn't — the Airplay 100 is. The Airplay 100 combines radio and TV airplay data from Media Forest, while the charts published on Media Forest's website (the Romanian Radio and TV Airplay Charts) could be considered something like component charts (like a component Billboard chart, for example). I think we could also do a template for the Romanian TV Airplay Chart, titled "{{Single chart|Romaniatvairplay...". Also, I think we should include "Media Forest" somewhere in the template (thus my suggestion on how it could look). Random fact, the number one single in the week you've given was "Imperfect" by Carla's Dreams when looking at the total amount of radio broadcasts (maybe you just got it wrong). Best regards; Cartoon network freak (talk) 14:17, 28 June 2018 (UTC)
@Cartoon network freak: A comment about the leading zero requirement will be added to the documentation. I renamed the parameter value for the Romanian charts as you requested and added the TV airplay chart. Anything else before I commit this:
{| class="wikitable sortable"
|-
! Chart (2018)
! Peak<br />position
|-
|{{Single chart|Romaniaradioairplay|3|year=2018|week=16|song=Nirvana|artist=Inna|accessdate=30 April 2018|publishdate=29 April 2018}}
|-
|{{Single chart|Romaniatvairplay|3|year=2018|week=17|song=Nirvana|artist=Inna|accessdate=30 April 2018|publishdate=29 April 2018}}
|}
@Muhandes: Hi again! Everything looks fine; thank you very much for your help (not everybody takes this time to help another editor)! I just thought that maybe we could do one last template for Romania's national singles chart, the Airplay 100 (the template would be thus called "{{Single chart|Romania..." if implemented). Each Airplay 100 chart edition is storaged as a podcast here, and each podcast has its individual url page. The url is always like this: "https://www.kissfm.ro/podcasturi/WXYZ"; "WXYZ" stands for the number of each podcast. You can see that number when you go with the mouse over the "download" (↓) button next to each podcast, but don't press it. If implemented, a template for the Airplay 100 should look something like this. What do you think about this? Many thanks! Cartoon network freak (talk) 18:39, 29 June 2018 (UTC)
@Cartoon network freak: For the first two tables: Done. For the Airplay 100, as I wrote in my first reply, I am uncertain there is consensus on interpreting audio podcasts into chart rankings. Was there any discussion about this? --Muhandes (talk) 21:25, 30 June 2018 (UTC)
@Muhandes: Thank you very much for everything you've done! Regarding the Airplay 100, I understand your point and no consenus was made yet on this subject. One last thing: could you add next to both templates' descriptions that the users need to mix the Romanian and internationlal chart position by the number of broadcast to receive a song's peak position? Many people disregard this thing and get a false peak position for a single. Best regards; Cartoon network freak (talk) 21:36, 30 June 2018 (UTC)
Some URLs have been updated, pursuant to a request at Template talk:Album chart#Hung Medien updates. However, in the course of doing this, I noticed that the publications of Hung Medien identify that company as the publisher in {{Album chart}}, but they do not in {{Single chart}}. This should probably be fixed (i.e., {{Single chart}} should have the complete citation information). — SMcCandlish☏¢ 😼 20:43, 31 July 2018 (UTC)
NZ Music charts unavailable
We are in for a treat again as the New Zealand charts are again gone for maintenance (smh). It says "Sorry, the Official NZ Chart site is currently unavailable. Check out the revamped site plus brand new charts - 5pm this Friday!!!!" so I guess that would require new syntax to be added to the chart templates as well as certification. —IB[ Poke ]06:07, 4 July 2018 (UTC)
It not English, it's not Dutch, it's not any other thing that is relevant to Wikipedia. A stupid typo cannot be allowed to be displayed on any serious document. Wikipedia is not a joke. Whoever wants to play can do so in a sandbox Loginnigol (talk) 12:59, 2 May 2013 (UTC)
It is the Flemish language expression for Flanders. And this is no play as it is included into the template and means a stucture problem when it is removed although being in use. I do not know if you know how this template is working, if not, please tell me so I can explain. The point is that removing these two expressions from the template will mean broken chart references in some articles. I do not know how many links contain the template using these two expressions, maybe we should ask User:Kww as he created this and also has a bot that can (maybe) change these links in your way. Do you agree? --Ali1610 (talk) 13:07, 2 May 2013 (UTC)
As Ali pointed out, it's not a typo, it's just Flemish. I tend to call it "Vlanders". It's an accepted argument, but it doesn't display anywhere but the documentation. What's the issue?—Kww(talk) 14:18, 2 May 2013 (UTC)
It did show. I have removed the word "Vlanders" from song pages that were visible to the reader. Somehow someway that wrong word ended up slipping into either the table or in the article text or in the references. Loginnigol (talk) 14:32, 2 May 2013 (UTC)
No, it didn't. It was the name of a hidden maintenance category, because the hidden maintenance category reproduces the input argument exactly. The expansion was always "Belgium(Flanders)", not matter what variation was typed. Nothing was ever visible to the reader.—Kww(talk)
If it's not visible to the reader then what am I looking at here → Rayos de sol?
Look at the article source: someone manually typed it in. It doesn't use the template. I [fixed it], because you are right that Flemish shouldn't display in articles. Thanks for the reversion on the above comment, by the way: it will help a lot if you keep your temper.—Kww(talk) 14:58, 2 May 2013 (UTC)
Considerations for artists that chart only in Finland
As you have noticed, there are two official charts in Finland, both published by Musiikkituottajat: Suomen virallinen singlelista (Official Singles Chart, physical/digital sales + streaming) and Suomen virallinen latauslista (Official Download Chart, digital sales). In case of foreign artists that chart in multiple countries, omitting the Finnish download chart makes sense if the release has charted on the Finnish singles chart. But in case of Finnish artists that chart only in Finland – and, well first and foremost, sing in Finnish and therefore do not chart abroad, – allowing both the charts makes sense, as it properly reflects the local popularity of the songs. Could we make a guideline out of this? -- Puisque (talk) 14:11, 28 August 2013 (UTC)
Would anyone around here be interested in using Wikidata for recent chart data, probably through or with this template?
There's not much data to work with right now (charted in (P2291) is only used on about 100 items), and the data structure is quite messy and largely conflates songs and singles, but I've written a basic Lua module which is capable of pulling data from Wikidata (for any item which has relevant data). For example, {{#invoke:Sandbox/Jc86035/2|main|Billboard Hot 100}} used on Eastside (song) (or with |2=Q55975144) returns 44.
I think if more work were done on the module, it would be possible to automatically show references as well (although Module:Citeq would need some work for this) and get data for chart positions for singles (as opposed to songs). It would be a bit more difficult to add/update data for individual songs, mainly because references would have to be manually added and formatted (although there are some user scripts for these issues), but it would be much easier to use e.g. QuickStatements to add/update data for multiple songs. Jc86035 (talk) 08:27, 14 August 2018 (UTC)
Denmark before 2007
The documentation suggests hitlisten.nu goes back before 2007, but it looks like that's only true for albums (which go back to Jan 2001) but not singles. This isn't my area, but I thought someone might be interested. Le Deluge (talk) 19:49, 17 August 2018 (UTC)
It seems like support for pre-2007 charts was lost at some time. Does anyone have an alternative source for them? --Muhandes (talk) 10:08, 30 August 2018 (UTC)
@Muhandes: the answer, unfortunately, is complicated and not very easy to solve. Hitlisten (formerly known as Tracklisten) began in January 2001, which is when the charts on their website date from. However, from 2001 to 2007 there were two singles charts, a download chart and an airplay chart – the two were combined in 2007 to produce the "Track" chart which is on Hitlisten's website, and this is why the archive data for this chart is only from 2007 and not 2001... if you look at the "Airplay" chart you'll see this still goes back to 2001.
From 1993 until 2006 the Danish singles chart was compiled by Nielsen Marketing Research on behalf of IFPI Denmark, the official national music body (actually they compiled the chart beyond 2006, but the data from 2007 onwards is on Hitlisten's website, so we're not concerned with it here). The full charts were published in the European music trade journal Music & Media which is archived here: [4] – however, Music & Media ceased publication in August 2003. So we are now missing charts from the period August 2003 – December 2006. The charts were also published in Billboard magazine, archived here [5], but for the August 2003 – December 2006 period that we are concerned about, only a top five was published in the print magazine, and the full chart was only available to subscribers of the billboard.biz website... unless someone has archived every week of this website's chart page, we can't get hold of the complete Danish charts from this period, only the top five from each week's print version of Billboard.
Before 1993 singles data is very sparse: there was a chart from 1965 onwards, but due to very low single sales it's doubtful whether any meaningful data can be extracted from the charts of the 1960s and 70s. The official charts from 1979 to 1992 are archived at Danske Hitlister (http://danskehitlister.dk/?hitlist_id=29) – before 1979 singles were actually combined with albums into a single chart, which gives you some idea of how meaningless singles sales were at this time.
In summary:
1979–1992: official singles chart archived at danskehitlister.dk, but of doubtful quality
1993–August 2003: archived PDF copies of chart in Music & Media magazine
August 2003–2006: archived PDF copies of chart in Billboard but only top five singles each week; otherwise dependent on archived copy of billboard.biz website being found
@Richard3120: Sorry for my tardiness, I am having a bit of life. I understand the complexity of the situation, but frankly, all I want to do is help with the template. This is where it stands now:
The documentation seems wrong as it states www.hitlisten.nu can be used before 2007 and danishcharts.com should not. In fact, it is the opposite: hitlisten currently only goes from 2007 and danishcharts goes before 2007.
The easiest for me would be to merge Denmark 2007/Danish/Denmark to one key set and have it pointing to hitlisten when week is listed and to danishcharts when not. In addition, correct the documentation to say danishcharts goes from 2001 and hitlisten only from 2007. Is this an adequate solution? --Muhandes (talk) 09:58, 6 September 2018 (UTC)
@Muhandes: my apologies, I was just trying to explain why there aren't any online chart records before 2001. But in short, I agree totally with your solution, and to just say in the documentation that for any charts before 2001, editors will have to add it in manually. Richard3120 (talk) 01:16, 10 September 2018 (UTC)
The Danish single and album chart templates are returning either a 404 Not Found or privacy error (depending on the article it is linked from/which browser one uses), as the URL generated uses https://danishcharts.com/. The site was recently changed to https://danishcharts.dk/, so can this be changed to avoid it? Thanks. (It appears the non-secure URL of the former location, http://danishcharts.com, redirects to danishcharts.dk.) Ss11200:51, 13 September 2018 (UTC)
You'll see that Muhandes and I were talking two threads above this one about updating the Danish templates anyway, so this sounds like a good opportunity to overhaul them completely. Richard3120 (talk) 02:38, 13 September 2018 (UTC)
@Ahmedo Semsurî: If a chart does not exist then either there is no consensus that it is a notable chart, or there is no easy way to automatically reference it, or, most likely, no one asked for it. If you provide details about the chart, namely a link to the article and a simple explanation about how to automatically reference it, I'd be happy to add it. --Muhandes (talk) 09:30, 9 September 2018 (UTC)
@Ahmedo Semsurî:@Richard3120: I notice that just like the Portugal chart and the Luxembourg chart, and as a matter of fact also charts like Canada AC: Canada AC, Billboard seems to keep the top positions per artist but the charts themselves are not archived. So, there is precedent to use these charts.
While trying to understand how these charts work I notice that all the specific Billboard charts that used {{BillboardURL}} are pointing to the wrong place. I see Starcheerspeaksnewslostwarshas reported it almost a year ago but as far as I can see it wasn't fixed. I'll see what I can do to help about that later.
The Greek charts I am referring to is the "Greece Digital Songs" which is still running (September 29, 2018 chart). But I just thought that since templates for the similar charts for Luxembourg and Portugal existed, a template for the Greek one would be a piece of cake. --Ahmedo Semsurî (talk) 11:40, 30 September 2018 (UTC)
What I meant was that you didn't tell us the webpage where the Greek charts could be found, so I didn't know if they included charts from previous weeks. I can see now that they do, but I hope you have a subscription to billboard.biz, otherwise you won't be able to see anything other than the top three positions each week... or you will have to find another editor with a subscription. Most Wikipedia editors don't have access to this website. Richard3120 (talk) 13:19, 30 September 2018 (UTC)
I'm not sure whether subscription is necessary, since the whole top 10 is available if you click on "Greece Digital Song Sales" under "Charts" and choose a date. If you choose 30th May 2018, the whole top 10 of week 2018-09-29 (2018-09-15) shows. --Ahmedo Semsurî (talk) 14:42, 30 September 2018 (UTC)
Hmmm, well it doesn't exactly... 30 May 2018 was in between two chart dates, so it gives you both the top ten of the week before and the top ten of the week after, in an apparently random order – I'm not sure how easy or useful that will be to implement. And is the complete chart a top ten, or is that just what Billboard shows us without paying for the subscription?
And another issue is that the Billboard chart is clearly different from the official IFPI Greece chart for local digital singles [7] and international digital singles [8]. So is the Billboard chart an unofficial chart, a different official chart, a component chart, or a composite chart, and does it have more than ten placings per week? Richard3120 (talk) 21:30, 30 September 2018 (UTC)
Secure URLs for some Hung Medien sites showing errors
It looks like some URLs are forcing https:// where the site doesn't use a secure URL, or there's another happening somewhere in the coding to cause a "privacy error" to pop up (at least for Chrome users like myself). I just tried clicking on the reference in the chart table of Mariners Apartment Complex for the Swiss peak, and it looks like swisscharts.com doesn't use https:// This has happened for a few other Hung Medien sites too. It's also affecting Template:Album chart, like for the aforementioned Danish chart and so on. Ss11209:56, 4 October 2018 (UTC)
Zobbel I had no luck replacing any of these templates. Interestly, I found a different charting version of Sometimes It Snows in April by Amar instead of Prince - which I added to the article. The prince one however is #193 so I can't do anything about it.
UKChartstats I've had more luck but come across songs that are over 100 in the peak position such as Axis (song) #196, and Give Life Back to Music #164. (OCC doesn't have songs above 100). I'm currently not done looking through chartstats but I know at least these two song templates can't be replaced.
By the way, the code puts songs that charted over 75 in those two categories you mentioned, while it seems OCC archives go to 100. Perhaps it used to go only to 75? For example, I don't see a reason why Winner (Pet Shop Boys song) cannot be substituted, in fact, here it is at 86. Is there any reason not to change this from 75 to 100? I'm pinging Kww though he does not seem to be very active anymore. --Muhandes (talk) 08:03, 18 October 2018 (UTC)
@Muhandes: In regards to Chartstats, OCC used to not have postions 75-100 in 2013. The category won't be empty as the above two songs will be still there, but the category will hopefully be majorly reduced. Zobbel I figured I could try to convert what I could but I couldn't convert any of them, so I'll leave it alone. I was also debating on emptying out Chartarchive but not sure if it'd be a waste of time as the redirect points to the artist's page as you said. Maybe the chartarchive ones could be checked to determine if any of them have positions of 101+ and aren't confirmed on OCC. If they are, maybe a different template for those would be needed. But for now, I'll clean out what I can for chartstats. --MrLinkinPark333 (talk) 14:12, 18 October 2018 (UTC)
Just to answer Muhandes' question fully... the UK chart was expanded to from a top 50 to a top 75 in May 1978, and from a top 75 to a top 100 in July 2007. When Gallup took over the compilation of the UK charts in 1983, it introduced a "next 25" positions, which were continued under its successors Millward Brown and the Chart Information Network (the former name of the Official Charts Company). However, these positions 76 to 100 were NOT official chart positions at the time, and Gallup explicitly said so, because they weren't the next 25 best-selling singles that week. The reason they weren't official chart positions is because any single that had been dropping by a certain amount was excluded from those positions – so if a single had dropped from no. 72 one week to nominally no. 82 the next week, it would in fact disappear from the chart altogether, and the singles below it would all move up a place. Hence these chart positions were artificially inflated. The point of this "next 25" was to give the record industry an idea of how their new releases were performing – it was more like Billboard's Bubbling Under Chart, and positions 76 to 100 were only made available to the record industry and not to the public. When the OCC revamped their website a few years back, they suddenly decided that these positions were valid after all (even though they weren't in charge of compiling them at the time, or of the inclusion criteria) and so we now have a "retrospective" weekly top 100 from 1983 to 2007, which I personally completely disagree with.
I'm not really sure of the value of any chart peak between 101 and 200 – apart from the fact that these chart positions have never been made publicly available without a subscription, it's an indication that the amounts sold were pathetically tiny. Gallup once said that the reason they didn't go below a top 75 is because the margin of error in calculating sales from their representative panel became too large, and the average no. 75 single only sold between 1000 and 1500 copies... so I imagine any single peaking at no. 184 is literally selling no more than a few hundred copies in total. Richard3120 (talk) 16:13, 18 October 2018 (UTC)
Just to summarize what I understand: OCC now has charts up to 100 so there is no reason why positions 75-100 cannot be substituted. Therefore the code should be changed to reflect that.
@Muhandes: yes, and yes, on both accounts. As I said, chart positions greater than 100 means sales were negligible anyway, so I don't believe we're losing much by not including them, and if they can't be sourced at all, they should just be deleted. Richard3120 (talk) 18:45, 18 October 2018 (UTC)
@Muhandes: Thank you. I'm currently making null edits to 75-100 positions for the UKchartstats category above to reflect the current change. I'll let you know if it's there any above 100 for UKchartstats after I'm finished. Zobbel I can't do anything about per above. --MrLinkinPark333 (talk) 17:24, 3 November 2018 (UTC)
@Muhandes: I see someone beat me to the UKchartstats. There are currently 8 songs that can't be replaced. Zobbel has 42. Should we replace all of the UKchartstats and Ukchartarchive ones? --MrLinkinPark333 (talk) 16:48, 4 November 2018 (UTC)
Can someone edit the template to make it accept West Germany as a parameter {{{1}}}, and outputting the same as Germany does, but with the pre-1990 country name? — OwenBlacker (talk; please {{ping}} me in replies)16:51, 24 September 2018 (UTC)
OwenBlacker, you are correct, pre-1990 charts are for West Germany only, but I'm not sure of the exact date that charts for the unified country would have begun, which may affect your request. Richard3120 (talk) 16:59, 24 September 2018 (UTC)
Richard3120: Makes sense. Though even just accepting West Germany blindly would work. Adding
|West Germany={{!}}West Germany ([[GfK Entertainment Charts|Official German Charts]]){{#tag:ref|"[http://musicline.de/de/chartverfolgung_summary/artist/{{Single chart/germanencode|{{{artist}}}}}/?type=single Musicline.de – {{{artist}}} Single-Chartverfolgung"] (in German). [[GfK Entertainment Charts|Media Control Charts]]. PhonoNet GmbH. {{#if:{{{publishdate|}}}|{{{publishdate}}}. }} {{#if:{{{accessdate|}}}| Retrieved {{{accessdate}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
(which is a copy of the line that begins |Germany={{!}}Germany but with "West" inserted twice) before
|Hungarian
|Hungary
|Hungaryradio={{!}}Hungary ([[Association of Hungarian Record Companies|Rádiós Top 40]])
I've been meaning to ping Muhandes regarding German charts anyway, because I have a feeling only the Germany2 parameter works consistently in {{Single chart}} while the Germany parameter doesn't always work, and there are also problems with some of the various German parameters in {{Album chart}} as well, but I need to check them out. Richard3120 (talk) 23:05, 24 September 2018 (UTC)
@Richard3120:that ping failed but I stumbled here anyway. I added the West Germany section you requested which seemed the simplest solution, though I'm not sure this works at all. As you said you were going to look into it, let me know what you find out and I'll try to fix it. --Muhandes (talk) 21:37, 29 September 2018 (UTC)
That's strange, because I didn't get your ping either... anyway, thank you for reminding me because I had forgotten about this. I will try and have a look and do some tests in the next couple of days and let you know. Richard3120 (talk) 21:41, 30 September 2018 (UTC)
@OwenBlacker:@Muhandes: are there currently any articles at all which use the West Germany as originally planned above, i.e. following the Germany parameter? Because if not, and seeing as we've established that Germany no longer works, would it make sense to recreate the West Germany parameter following the Germany2 parameter instead? Either we do that, or we don't bother with "West Germany" as a separate parameter at all. Richard3120 (talk) 21:13, 3 November 2018 (UTC)
Hi, could somebody please replace the Slovakian URLs for both the entries Slovakia and Slovakdigital? Currently they link to the specific Slovakian subsection of ifpicr.cz, which is http://www.ifpicr.cz/hitparadask/index.php?hitp=R, but this is outdated (which one can see by clicking on it—the latest week it shows is week 43 of 2016, over two years ago). They should be updated to http://www.ifpicr.cz/hitparada/index.php, as they are located at the same site as and published by the same publisher for the Czech Republic, where they can be selected from the drop down menu at the top of the page (where Slovakia is "SK - RADIO - TOP 100" and Slovakdigital is "SK - SINGLES DIGITAL - TOP 100"). No need to ping me, I'll be watching this page. Thanks! Ss11209:51, 16 November 2018 (UTC)
Please add to Template CIS chart by TopHit (Radio & YouTube Hits by Tophit)
|CIS={{!}}CIS ([[Tophit]]){{#tag:ref|{{#if:{{{artist|}}}||{{main other|[[Category:Singlechart used with missing parameters]]}}<span style="color:red;">ERROR: Tophit chart was invoked without providing an song ID. song_ID is a mandatory field for this call.</span>}}[https://tophit.ru/ru/tracks/{{{songid}}}/view {{{artist}}} — {{{song}}}]. [[Tophit]]. {{#if:{{{publishdate|}}}|{{{publishdate}}}. }} {{#if:{{{accessdate|}}}| Retrieved {{{accessdate}}}. }}|name={{#if:{{{refname|}}}|{{{refname}}}|"sc_{{strip whitespace|{{{1|}}}}}_{{{artist|}}}"}}|group={{#if:{{{refgroup|}}}| "{{{refgroup}}}"}}}} {{Single chart/chartnote|{{{note|}}}}}
{{!}}style="text-align:center;"{{!}}{{{2}}}
@Mr Hell: I tried to implement it in the sandbox and I see some problems:
I'm pretty certain the code is wrong, you are checking for the existence of artist but warning about missing song_ID and then using songid, so three different parameters. I would suggest in the future to use the sandbox and testcases. I fixed that, please see the test case and verify that this is what you had in mind.
I'm not sure what chart exactly you are referencing since each page seems to have many of them. I think it would be better to list that.
@Muhandes:. You did exactly what I meant. Im referencing to line "Наивысшая позиция в Top Radio & YouTube Hits" (in EN - Best position in Top Radio & YouTube Hits). Mr Hell (talk) 11:15, 23 November 2018 (UTC)
@Mr Hell: I just realized there is an English version available. I also made some cosmetic changes, using Tophit instead of TopHit and mentioning the chart name to avoid confusion. Please have one final look at the test case and if you think it is right I'll go live. --Muhandes (talk) 13:06, 23 November 2018 (UTC)
@Muhandes:. I think, we need should stay on chart name "CIS (Tophit)" without "Radio & YouTube Hits" and need stay in Russian version because only in this version we can saw in table position number (in EN I see only n/a). Mr Hell (talk) 13:27, 23 November 2018 (UTC)
I'm flattered that you pinged me. I think the name should be consistent with the others in the single chart template. I originally was thinking of having the full name, but Czeech Republic for example says (IFPI). So maybe only have (Tophit) instead of the full name as it's the only one from Russia *currently*. Then, if other Russian charts are added later then disambig them. However, I'm seeing there are *many* charts at Tophit.--MrLinkinPark333 (talk) 19:22, 23 November 2018 (UTC)
Please add to Template Russia and Ukraine Airplay chart by TopHit. Need 3 parameter - artist, song, and date (starting day of the chart period) in format yyyy-mm-dd.
For accessdate. I did like the others chart. Dont understren whan meen "only for Russia/Ukraine?" Tophit have Airplay charts (in Tophit its call "City & Country Radio Hits") only fo Russia and Ukraine. General chart (Radio & YouTube Hits) fo CIS (see talk "Add CIS Chart by TopHit").
Done@Mr Hell: I realized there is no standard maintained in the code of this template, and I don't have the time to impose one, so I just copied the code from one other region which used similar formatting. Let me know if anything needs to be fixed. --Muhandes (talk) 16:25, 5 December 2018 (UTC)
Archival
To page watchers: I've set up a script to archive links on Wikipedia:Record charts/List every week. Please add more links in the same format to that page if they need to be archived and can be archived by the Wayback Machine. Thanks, Jc86035 (talk) 18:18, 31 December 2018 (UTC)
Slovakia chart history (radio / digital) - non slovakian artists
Hello. I'm finding instances of Slovakia chart singles (both radio and digital) that are not supported by the website. From my research, the first available chart for both radio/digital is 2016 week 43. However, Can't Hold Us and Ain't it Fun are being cited with Slovakian charts that don't exist on charts prior to October 24th 2016. Were there Slovakian charts before this date? --MrLinkinPark333 (talk) 01:39, 4 December 2018 (UTC)
Slovakia's official chart has existed since the summer of 2006, Paris Hilton's Stars Are Blind was the first ever #1. They moved websites on week 43, 2016 for the archive. ×°˜`°×ηαη¢у×°˜`°×22:06, 23 December 2018 (UTC)
@Merynancy: Okay. How would I access the archives for weeks prior to week 43, 2016? I keep get an error page that translates to "In the selected period, this charts are not processed. Choose a different period (week / month)." --MrLinkinPark333 (talk) 22:32, 23 December 2018 (UTC)
@Merynancy: Perfect! Thanks for tracking that down for me. @Muhandes: as the solvakia archive from songs earlier than 2016 week 43 is at ifpicr.cz/hitparadask/index.php while the current songs are at ifpicr.cz/hitparada/index.php. --MrLinkinPark333 (talk) 00:21, 24 December 2018 (UTC)
Tbh the template for the Czech and Slovakian charts needs to be fixed: since there's an archive page for each song's chart history, rather than citing a generic "go to week xx of year xxxx" source, we might as well just add the URL code to each specific song/album page. ×°˜`°×ηαη¢у×°˜`°×08:51, 24 December 2018 (UTC)
@Merynancy and MrLinkinPark333: One day when I will rewrite this entire template, we should have both options built in for every chart. For now, if someone intents to replace a significant number of week chart instances with title instances, I can kludge it in, so let me know. Otherwise, I will fix the template so it goes to hitparadask instead of hitparada prior to week 44, 2016. --Muhandes (talk) 09:12, 11 January 2019 (UTC)
year / week for Czech Republic and Czech digital request
Hello. I was wondering if there could be an error page to have year / week mandatory for Czech Republic and Czech digital like Slovakia has it. I'm currently cleaning up the slovakia ones with missing years/weeks and came across Things Have Changed (Mattafix song) which doesn't have a week/year for Czech Republic. If an error page was to be made, I'll definitely add them to my cleanup list :) — Preceding unsigned comment added by MrLinkinPark333 (talk • contribs) 01:11, 15 January 2019 (UTC)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
On multiple song articles, I happen to come across songs that charted in Germany where the error message ID is MANDATORY FOR GERMAN CHARTS shows up. More recently, I encountered this on G.D.F.R. (song) (mostly while trying to locate information for the new Lookas article), and just now on I'm a Gummy Bear (The Gummy Bear Song). Since I would like to get this fixed ASAP, how would I go about locating such an ID? If you reply here, please ping me by adding {{u|JalenFolf}} to your message, and signing it.Jalen D. Folf(talk)03:42, 13 February 2019 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Czech Republic edit request
I noticed when using the Czech Republic chart identifier the template generates a link and asks the user to select the year-week to complete the search at www.ifpicr.cz. However, the link defaults to a Top 100 Albums. If we are using this link to source single performance on charts, would it be a good idea to also include instructions in the generated text to "change the chart to CZ - RADIO - TOP 100 and insert <year-week> into search"? Likewise, for Czechdigital the chart should be changed to CZ - SINGLES DIGITAL - TOP 100.
@Hoof Hearted: Done on the instructions. using songid to link to the song's page seems like a good idea. I can't find anything simpler than requiring titul=161644&sec=621e1df40439b484cd321cf25b27f79e. It's a bit long but it's a copy paste. Let me know if this is an adequate solution.--Muhandes (talk) 08:59, 15 February 2019 (UTC)
Link change for Slovakia
Per the above Czech republic one, I think there should be an accompanying note for Slovakia digital (as the single chart ref defaults to the radio chart). I wouldn't have asked, but per above Czech request, I might as well ask for Slovakia as well. Thanks :) --MrLinkinPark333 (talk) 23:45, 15 February 2019 (UTC)
Thank you to Muhandes for all your quick responses to our requests. This one is a little more involved, so I understand if you don't have time to look into it right now.
I just "fixed" a page that was using this template for several year-end charts (Overload (Sugababes song)). For Austria and Switzerland, I found {{year-end single chart}} creates a better URL for year-end charts, however that template does not have a Germany (or Germany2) chart defined.
Was I correct in my "fix", or did I miss something that makes {{Single chart}} the better template in this case?
Is there a way to setup {{Single chart}} so it can be used for either weekly or year-end charts? Maybe a chart= parameter that defaults to weekly but can be set to year-end?
If that's too complicated, can we please add the German chart identifier to {{Year-end single chart}} and also some documentation for that template? I also think it would be helpful to reference the year-end template in this one's documentation.
@Hoof Hearted: This is the first time I hear of {{Year-end single chart}}. It seems to be an abandoned project which was only ever used by the author himself for 19 articles back in 2013 and abandoned ever since. It has no documentation and no support. Adding the capabilities to cite year-end charts to {{Single chart}} is not an option since {{Single chart}} is already way too complicated. Therefore, in principle, having a separate template for year-end charts is a positive idea. On the other hand, if we are to start supporting such a template, I would rather rewrite it to my own taste than support a relic. I'd do that if enough interest in the project can be shown. In other words, my recommendation for you is for now to remove the erroneous usages of {{Single chart}} from year-end charts and replace it with manual citations. If this is a project you intend to focus on, we can consider templatizing year-end citations. --Muhandes (talk) 13:58, 19 February 2019 (UTC)
Fair enough. I didn't check its usage. I'll make an attempt to create some documentation for {{year-end single chart}} as it currently exists, and may use it for the supported countries on articles I'm fixing for other reasons. But no, at this time I don't see the need to add more functionality or templatize wikipedia for these charts. Thanks for the feedback. Hoof Hearted (talk) 14:21, 19 February 2019 (UTC)
I had no idea this template existed either. I agree that it's not a priority right now to write a new one from scratch - we already ask a lot of you Muhandes, and I don't think this is an urgent need. Richard3120 (talk) 14:48, 19 February 2019 (UTC)
uksinglesbyname vs uk parameter
hello again. i was wondering why there were two separate parameters for the same chart - uksinglesbyname and uk. Personally, i perfer to use uk even though it takes longer to add the date to the singlechart than with uksinglesbyname and use artist name. Was there a reason for the split? --MrLinkinPark333 (talk) 23:37, 16 February 2019 (UTC)
I might have got confused here, but as far as I can remember, UKsinglesbyname links to the chart history for an artist, which shows all the peak positions for that artist's singles, while UK links to a special chart which shows a single's peak within that chart. Is that right? Richard3120 (talk) 00:39, 17 February 2019 (UTC)
Yeah. But I was wondering why both of them are used and not one or the other. I don't really mind have them split, but find it odd at the same time. --MrLinkinPark333 (talk) 02:08, 17 February 2019 (UTC)
See, I think UKsinglesbyname is more useful, because it shows you the chart peak instantly... with UK and linking to a specific chart week, the assumption is that the song didn't climb higher the following week. Richard3120 (talk) 16:48, 17 February 2019 (UTC)
I guess it was done for the same reason there were two or three Germany parameters... there were several ways to get the information you wanted. Richard3120 (talk) 14:50, 19 February 2019 (UTC)
UKsinglesbyname no longer takes you to the artist chart history page directly, but a search page for all entries under the artist's name. It used to work—the OCC website used to fill in the random number it assigns to artists' chart history pages if you typed in the artist name in the template next to artist= (hence also why a lot of articles, particularly discographies, still use the old URL where the underscore is used to represent where the number would be automatically filled in; for example http://www.officialcharts.com/artist/_/lionel-richie). So I think the preference is to use "UK" now until/unless the UKsinglesbyname option can be rectified to link directly to an artist's page again instead of search results. Ss11215:04, 19 February 2019 (UTC)
This is true - the search results work fine for a simple artist or band name, but it fails when the name is more complex... I've had no luck using UKsinglesbyname for "UB40 featuring Ali, Astro and Mickey", no matter what combination of names, abbreviations or punctuation I use... it can't find the artist name at all. Richard3120 (talk) 15:15, 19 February 2019 (UTC)
@Ss112 and Richard3120: In case you missed it, UKsinglesbyname now supports |artistid=. When I replace UKchartstats with UKsinglesbyname I also add |artistid=. I may create a tracking category in the end, for uses of UKsinglesbyname which don't use |artistid=, and after this is corrected, maybe make it mandatory. Time will tell. --Muhandes (talk) 16:56, 19 February 2019 (UTC)
@Muhandes: Okay, I did miss that... thanks. Much more helpful than a search page. And yeah, I think a tracking category to catalogue the instances of the non-artistid-having uses of the option would be great, as there's still plenty out there to fix. Ss11216:59, 19 February 2019 (UTC)
Seems to have been added by a Brazilian IP in 2010, who had a history of adding unreliable or inflated chart positions to various Kylie Minogue songs. It therefore looks unreliable and I would delete the supposed Slovakian listing. Richard3120 (talk) 13:08, 22 February 2019 (UTC)
It was added by the editor Razr Nation in 2012 – that editor is still occasionally active on Wikipedia, so you could try dropping them a line on their talk page and asking them. Although I notice from their user page that they now live in the same country as I do, so perhaps I should just catch a bus and ask them in person... Richard3120 (talk) 13:10, 22 February 2019 (UTC)
Czech Republic/Slovakia final week for the year
More Czech/Slovakian requests! I just fixed a song article using this template for a Slovakdigital chart identifier with week set to "52,53" which caused the citation to throw an error: Expression error: Unrecognized punctuation character ",". At first I thought someone was trying to show multiple weeks for the song's peak position, but looking at the Slovakian chart website, the search parameter is actually named "201552,53" (emphasis added). This two-week chart only appears 4 times in the Czech/Slovakian database, 2011 (as "201151_52"), 2012 ("201251,52"), 2014 ("201451,52"), and 2015 ("201552,53").
Is it worth changing the code to accept these punctuation cases, or it my fix good enough for final week charts (i.e. will the user understand that searching for "201552" is meant to be "201552,53")? Hoof Hearted (talk) 14:09, 27 February 2019 (UTC)
@Hoof Hearted: I consider this an implementation bug, lack of protectection for non-standard input. The issue was that before 201643 the table goes to hitparadask and henceforth to hitparada. This mandated a mathematical calculation which caused an error when a non-number was used. There is a standard workaround which means that when math cannot be evaluated, it is always assumed to be true (i.e. go to hitparadask). This will work fine for these four cases, so I went ahead and implemented it. Done you can now use non-numbers as week. --Muhandes (talk) 15:28, 27 February 2019 (UTC)
UkChartarchive and UKchartstats
@Muhandes: I'm working through the remainder of Singlechart usages for UKchartarchive (57). Singlechart usages for UKchartstats would take awhile to clean out (684). I wouldn't mind help clearing out the chartstats one. Would these two templates be considered to be depreceated? --MrLinkinPark333 (talk) 22:40, 23 December 2018 (UTC)
Perhaps a maintenance category for ones that still use |songid in the UK / UKsinglesbyname could be useful as per below as you're cleaning out the UKchartstats ones. --MrLinkinPark333 (talk) 21:31, 3 March 2019 (UTC)
@The Rambling Man: Did you mean the Czech one? The Slovakian one seems fine to me. I run dashes.js and it fixed the Czech one too. If there are still problems, can you be specific and point us to an example? --Muhandes (talk) 12:15, 5 March 2019 (UTC)
@Muhandes: okay, I've been trying out the German parameters in my sandbox, and unless I'm in error, this is what I found:
GermanyN – Obsolete: the Musicline.de website has reinvented itself as a music sales website, and no longer carries the German charts... there is a link to "Charts" at the bottom of the home page, but this is just a link to Offizielle Deutsche Charts (offiziellecharts.de) website.
Germany2Y – Works, but with caveats: as stated, the ID number of the song is required, but this only works for songs from 1 January 1977 onwards, which is the date of the first singles chart on Offizielle Deutsche Charts' website – putting in the ID for a song before this date returns the correct single, but without any chart information. For the peak positions before 1977, the only way I can see of finding them is to search for the single in the box at the top right ("Suchen"), which then gives a list of songs with that title and their peak positions, even before 1977.
The problems with the German {{album chart}} template are even worse, but let's sort out this template first – I would imagine that there are a lot of song articles using the Germany parameter which is now useless, and I don't know the best way to port them over to the Germany2 parameter without breaking all the links. I'd also note that the "West Germany" parameter that you recently created following the request above also uses the obsolete Musicline.de website, so this needs changing to offiziellecharts.de.
I could see the value in being able to search for a specific week's chart, but each week has an ID which appears to bear no resemblance to dates or anything else, just a random string of numbers (e.g. the first single chart on 1 January 1977 is ID no. 221115600000, the current chart is ID no. 1538110800000), so I don't know how this could be implemented.
As an aside, the Hung Medien website at germancharts.de also has German charts, but only from 2007 onwards, and only a top ten each week – given that the full charts are available on offiziellecharts.de, it doesn't seem worth including this as an alternative option. Richard3120 (talk) 19:03, 4 October 2018 (UTC)
@Richard3120: Regarding Germany (and the short lived West Germany): I marked this option as obsolete on the documentation. I can further do two things. First, I can add a red warning, something like WEBSITE Musicline.de NO LONGER CARRIES CHARTS, PLEASE USE OTHER CITATION METHODS. I suppose if someone who cares sees this they will manually fix the citation to use Germany2. Second, I can make all uses of Germany go to Category:Singlechart used with missing parameters, so again, if someone cares, they can correct it manually. Once we are certain there are no more articles using Germany (the category is empty) we can remove the option to use it. Let me know what you think about these two.
Regarding Germany2: I added a note to the documentation about the 1977 limitation. As for your idea about the week charts, I can add an option of specifying |weekID= parameter which will link to a chart, let me know if you find this helpful.
@Muhandes: let's not worry about adding an option for the weekly chart right now – it's not like anyone is asking for it, and to be honest it doesn't give any more information than using Germany2 would... plus there's the added complication that editors would have to search for a particular week's ID anyway.
So let's just stick with creating West Germany2 as you stated above... and yes, it would be very helpful if you could make all articles using Germany appear in the category that you mention (I notice that at the moment it just contains user sandboxes and test pages). I don't mind working through that category to clear it and I could think of another couple of editors who might get involved to help. Richard3120 (talk) 21:45, 7 October 2018 (UTC)
As it happens, I am just about to board a plane for a 10-day business trip to New Zealand. If I manage to get settled there, I'll try to handle this sooner. It's pretty simple though, so any other template editor can handle this if you are in a hurry. --Muhandes (talk) 08:55, 8 October 2018 (UTC)
Done I added West Germany2. I added the pages to the category, as mentioned above. The pages will populate the category over time, though I just remembered you can use Category:Singlechart usages for Germany as well, so this might have not been needed. I am hesitant about the RED TEXT as it is rather ugly. Perhaps you can suggest shorter and still effective text or we can do without it. Let me know. --Muhandes (talk) 23:15, 9 October 2018 (UTC)
Thank you so much for your time and help, Muhandes... the category currently has about 160 songs on it, so that's manageable and I'll make a start on working through it, and also on how to best word the text - I agree that colouring it red is probably too much. When you get back from your trip we can discuss the equivalent changes for {{Album chart}} but there's no rush. Richard3120 (talk) 02:22, 10 October 2018 (UTC)
@Muhandes: I've run into an issue with the new parameter – it doesn't recognise the multiple versions of the single "Blue Monday" by New Order, which has been a hit in Germany three times: in its original form in 1983, as a remix in 1988 ("Blue Monday 1988"), and as another remix in 1995 ("Blue Monday (Hardfloor Remix)"). Even though Offizielle Charts recognises the three versions as three separate songs, with three different titles and three different ID numbers, the code only recognises the first entry, and then repeats it for the other entries. In the table below it looks like the same song has charted three times in different years, which isn't the case – if you look at the code you'll see I've put in different song titles and different ID numbers for all of them.
I think this has little to do with the German2 parameter, it is the default behavior of the template. The reference name only includes the artist by default, so multiple uses of the same artist will use the same reference name, unless |refname= is specified. I can go around this, but the template was built in a way which makes this kind of changes rather time consuming to do. The simplest way to solve it is to state the |refname=, like this:
Thanks Muhandes, I'll do that. A similar situation arises for Christmas songs, which tend to return to the charts every December, so we need a way to show that the same song peaks at different positions every year... can the |refname= be used for this as well? Richard3120 (talk) 14:21, 17 October 2018 (UTC)
@Richard3120: Technically speaking, yes, use different |refname= to distinguish between references. By the way, you should probably also use |note= in these cases:
OK, that's great, thank you. I'm currently working my way through the category that you created, which still has 1500+ entries to change, so it may be a while before I get back to you with equivalent changes for the {{album chart}} template... Thank you for your help. Richard3120 (talk) 14:46, 17 October 2018 (UTC)
By the way, after all usages of Germany are replaced with working Germany2 instances, (still a very long way to go) we can automatically replace Germany2 with Germany using a bot. Just a thought for the far future. --Muhandes (talk) 17:38, 4 November 2018 (UTC)
@Muhandes: you read my mind... that's exactly what I was going to ask if we could do, once I empty out the category currently still using Germany. Makes sense to have Germany's official chart provider as the first choice parameter, it's what any editor unfamiliar with the parameters would assume – I don't know why it was decided to have the mirror site as the first choice. Richard3120 (talk) 21:56, 6 November 2018 (UTC)
@Muhandes: Okay, but what confuses me more is the West German parameter. When should this parameter be used instead of Germany2? Germany reunification was in 1990 but Germany2 goes from 1977 to now (which is redundant). --MrLinkinPark333 (talk) 20:50, 28 December 2018 (UTC)
@MrLinkinPark333: the idea is that eventually all pre-1990 singles will use the West Germany parameter, and singles from 1990 onwards will use the Germany parameter. However, before that happens, first the currently redundant Germany has to be cleared out to either Germany2 or West Germany... once all post-1990 singles have been moved to Germany2, this will be redesignated as Germany. It's just that there are more than 2000 articles using Germany, and it's taking up a lot of my time moving them over... Richard3120 (talk) 21:08, 28 December 2018 (UTC)
@Richard3120: Also, which category does the pre-1990 singles go to since Singlechart usages for West Germany doesnt exist currently? The 20 currently in the German category all need West Germany. Also, I moved Bus Stop (song) to Germany when I found West Germany category doesn't exist, but Bus Stop also needs West Germany. Finally, of the ones in Germany2 already, there are around 630 of them from 1977-1989 according to AWB. A manual replacement would be needed because for example The Tide is High would need West Germany for the 1980 entry but left alone for the 2002 cover. --MrLinkinPark333 (talk) 21:20, 28 December 2018 (UTC)
According to the template page, West German exists, rather than West Germany - is that the case? If not, we'll have to ask Muhandes for a workaround. Richard3120 (talk) 22:50, 28 December 2018 (UTC)
Perfect! Now I can clean out German and then that'd be one less category to go through!. Another question: when I replace the template, should I be listing West Germany in ABC order under W or G? German is Done --MrLinkinPark333 (talk) 17:23, 29 December 2018 (UTC)
@Richard3120: If you want, we could split the Germany category. One of us can do songs for Germany2 and the other person can do West Germany ones. Also, I definetly want to check Germany2 after to see if any of those transculsions actually should go to West Germany before the category gets renamed to Germany. Example I found was (I Can't Get No) Satisfaction. Thoughts? --MrLinkinPark333 (talk) 20:59, 29 December 2018 (UTC)
@Muhandes: I don't know if you saw but German is done. I have a few questions: in regards to the pre-1990 ones to be renamed West Germany, is the year referring to when they were released or peaked, and should West Germany be sorted under W instead of G? Also, I was wondering if there could be an error page for aritcles that don't have the id parameter. For example, (I've Had) The Time of My Life didn't have one after I found it needed to rename to West Germany (i found it under Germany2). I'm currently looking for ones under Germany2 that should be West Germany before I help @Richard3120: with Germany. --MrLinkinPark333 (talk) 00:30, 1 January 2019 (UTC)
@MrLinkinPark333: In regards to pre-1990 peaks, I believe this refers to the date a single peaked. I believe West Germany should be sorted under W. I could pages neglecting to list an id to Category:Singlechart used with missing parameters, which is now full of Germany pages, which can probably be removed since they already appear in Category:Singlechart usages for Germany. I would love to find the time one day to rewrite this entire template (which is not my own creation) in a more structural way so missing parameters can be better reported in general. --Muhandes (talk) 17:16, 1 January 2019 (UTC)
I'm Done adding this change. If you don't specify id you get this nice message:
@Muhandes: Awesome! Thanks for making the id parameter error page. The only reason why I asked cause the id parameter is part of the url. As for sorting ABC under W, I'll resort the ones I already did that I hadn't already put under W. Thanks! --MrLinkinPark333 (talk) 18:35, 1 January 2019 (UTC)
@MrLinkinPark333: sorry for not replaying earlier, I wasn't online over much of the New Year period, and I have family visiting at the moment, so my Wikipedia time is limited until next week. By all means feel free to help with the Germany category.
@Muhandes: I've thought in the past that the current template needs updating for missing parameters and other things, but I appreciate this is a time-consuming project – I don't think there's a desperate need for it just yet. Richard3120 (talk) 17:48, 2 January 2019 (UTC)
@Muhandes: can I ask why the parameter id was used for Germany2 rather than the existing songid? If it needs to be id can we add it to the template doc? I only found the parameter name by trial and error. Hoof Hearted (talk) 19:03, 12 February 2019 (UTC)
@Hoof Hearted: That's a good question, but it was done before I got involved. I believe it was done in this edit by SnapSnap. I added some details to the documentation. I don't see a good reason to keep it and I can rather easily fix it so for the interim period both songid and id can be used, and I'll run a bot to fix them to all use songid. Lets see if anyone objects to this idea, and if not, I will move on and implement it. --Muhandes (talk) 09:34, 13 February 2019 (UTC)
@Richard3120 and Muhandes: so it looks like we have a solution for German charts before 1990 (use West Germany2), but what was decided about charts before 1977? As Richard points out above, the offiziellecharts.de link automatically generated by the template doesn't list the song's peak position if it was before 1977. Specifically, I'm looking at Popcorn (instrumental) which first charted in 1972 for Hot Butter, and then later in 2005 for Crazy Frog. Can we leave the 1972 peak unreferenced?? Hoof Hearted (talk) 18:22, 13 February 2019 (UTC)
I perhaps wouldn't be so extreme as Muhandes, but I agree it's a tricky one to sort out. The best solution that I can see is to add the songid parameter as for other songs (in this case, 243), and then for singles that charted before 1978, add some code to switch the date if it is before 1978, and some text to the template so that the citation shows "Ofiziellecharts.de - <<artist name>> - <<song title>>. GfK Entertainment Charts. To see peak chart position, click 'TITEL VON <<artist name>>". Would this be possible, Muhandes? Richard3120 (talk) 18:51, 13 February 2019 (UTC)
@MrLinkinPark333: Done Adjusted to 1977. No, |year= is not mandatory. Doing so will require us to go over the 6,000 uses again. If |year= is not specified, the template assumes the year is higher than 1977. --Muhandes (talk) 16:55, 17 February 2019 (UTC)
Parameter cleanup
I presume year and week parameters need to be removed when converting Germany to Germany2 or West Germany? I just removed it from Catch & Release (song) but I don't know if Germany, Germany2 or West Germany ones have these parameters as well. Thanks. --MrLinkinPark333 (talk) 00:23, 7 March 2019 (UTC)
Hello. I thought I should let you all know that I found a website that has almost all of the issues for RPM magazine (Canada) in PDF files. While there are some gaps in year coverage (i.e. 2 weeks missing in January 1977), there is a noticeable gap from July 23, 1977 to August 27, 1983 as the website currently doesn't have physical copies from these dates. See here if you're interested. I used this site to help fill in some holes in #1 singles in Canada but currently have to look elsewhere for the remaining gaps in List of RPM number-one dance singles of 1978 and List of RPM number-one dance singles of 1979. --MrLinkinPark333 (talk) 18:27, 17 March 2019 (UTC)
Good find, MrLinkinPark333. On a related matter, I'm not entirely comfortable with the output when the various Canadian parameters for RPM archives are used with this template... they show up in the citation reference as "Issue: xxxx" which gives the impression that this is the issue number of the magazine, when in fact it's the reference of the scan number. I think this should be changed in the text to reflect that. Richard3120 (talk) 14:04, 18 March 2019 (UTC)