Template talk:BillboardURLbyName

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Record Charts (Rated NA-class)
WikiProject icon This template is within the scope of WikiProject Record Charts, a group of Wikipedians interested in improving the encyclopaedic coverage of articles relating to Record charts. If you would like to help out, you are welcome to drop by the project page and/or leave a query at the project's talk page.
 NA  This template does not require a rating on the project's quality scale.
 

Lists Poets of the Fall but provides no information[edit]

Apparently it did at one time because the reference

<ref name="emma">[{{BillboardURLbyName|artist=poets of the fall|bio=true}} {{BillboardURLbyName|artist=poets of the fall|bio=true}}] written by Chris True for All Music Guide – retrieved on 30 September 2010</ref>

is not a dead link, but returns no useful information. The Billboard Artist Link, Poets of the Fall returns "Sorry, Couldn't find anything for this artist". and the Google search, "written by Chris True for All Music Guide", seems to copy the Wikipedia citation. I'm deleting these references from Poets of the Fall, but I am wondering if the BOT that replaced all of the Billboard citations replaced dead link citations that are now not dead links, but rather links returning no information. Softtest123 (talk) 17:10, 9 January 2014 (UTC)

What's wrong with this URL?[edit]

https://www.billboard.com/artist/5756687/earthless/chart?f=324

Why does it keep saying it's wrong? LazyBastardGuy 04:28, 12 January 2014 (UTC)

No longer works[edit]

Seems to go straight to the artist page instead of the chart page. May need fixing. Hzh (talk) 19:32, 15 December 2017 (UTC)

The new URL for Billboard artist chart pages doesn't use artist IDs or chart numbers anymore. Using the example for Shakira and the Hot 100 from this template's documentation page, the URL takes this form: https://www.billboard.com/music/shakira/chart-history/hot-100. Don't know if there could be an issue with the use of hyphens in artist and chart names. The {{Single chart}} and {{Album chart}} templates have already been updated, if that makes a difference. Thanks. --StarcheerspeaksnewslostwarsTalk to me 21:32, 3 January 2018 (UTC)

@Starcheerspeaksnewslostwars: Are you able to fix the code in the /sandbox? — Martin (MSGJ · talk) 09:13, 9 January 2018 (UTC)
@MSGJ: Well, I got it to work as long as the artist and chart names are both entered and entered correctly. For example, there's the Hot Country Songs chart, but the chart parameter would have to be entered as "country-songs". If just artist is entered, the template would need to make the chart parameter optional so one can get the URL https://www.billboard.com/music/{{{artist}}}/. The "bio=true" parameter isn't necessary anymore. --StarcheerspeaksnewslostwarsTalk to me 02:44, 10 January 2018 (UTC)
How do those other two templates ({{Single chart}} and {{Album chart}}) do it? — Martin (MSGJ · talk) 08:32, 10 January 2018 (UTC)
Those use specific naming convention for each chart with each use of the chart name of the URL written into the code. Example: {{singlechart|Billboardhot100|1|artist=Michael Jackson}}, by entering "BillboardHot100" with Michael Jackson as artist it will go to the same page as this template would by entering {{BillboardURLbyName|artist=Michael Jackson|chart=Hot 100}}. Neither should require use of Template:BillboardID or Template:BillboardChartNum any longer. I'd like this template to work whether someone just enters the artist name or combination of artist and chart name:
I guess if there were a way to set up the chart parameter to accept multiple possibilities for the same thing, "chart=Hot 100", "chart=hot 100", "chart=billboardhot100", "chart=Billboard Hot 100", but that's way beyond my capabilities. --StarcheerspeaksnewslostwarsTalk to me 23:11, 10 January 2018 (UTC)

It was easy enough to omit the /chart-history if no chart parameter is defined. See Template:BillboardURLbyName/testcases for examples. Note that |chart=all does not work now. — Martin (MSGJ · talk) 14:43, 11 January 2018 (UTC)

@Starcheerspeaksnewslostwars: — Martin (MSGJ · talk) 21:28, 14 January 2018 (UTC)
Is there a way to find out what articles use the "chart=all" parameter with this template. I'd be happy to fix them so errors don't occur in those ones in which they're being utilized, even if it may take some time. --StarcheerspeaksnewslostwarsTalk to me 01:48, 18 January 2018 (UTC)