Template talk:MusicBrainz artist

Latest comment: 5 years ago by WOSlinker in topic Tracking categories and discography pages
WikiProject iconComputing Template‑class
WikiProject iconThis template is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconLibraries Template‑class
WikiProject iconThis template is within the scope of WikiProject Libraries, a collaborative effort to improve the coverage of Libraries on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Usage edit

{{MusicBrainz artist|id=|name=}}

Note: The "name" parameter is optional. If omitted, the article page title would be used.

Example edit

{{MusicBrainz artist|id=31e7b30b-f960-408f-908b-c8e277308eab|name=Susumu Hirasawa}}

Susumu Hirasawa discography at MusicBrainz

See Also edit

tfd edit

Please make this match other discography wordings which are clearer edit

{{editrequest}} This "editrequest" tag was added March 11 for a month-old request. All Musicbrainz templates need a slight edit to match the other discography sites wordings (eg. Discogs) which just have the Artist being included in the link and not the word "discography" which is not needed. Such ease-of-style change would better aid ease of understanding what the link info is going to. (i.e. should be "Artist discography at Musicbrainz" rather than "Artist discography at Musicbrainz"). Jimthing (talk) 09:28, 6 February 2011 (UTC)Reply

Specifically, the word "discography" should be in plain text and outside of the link. A clear example of the discrepancy can be seen at the bottom of the Queensrÿche discography article.--Lashuto (talk) 23:36, 11 March 2011 (UTC)Reply
  Done —  Tivedshambo  (t/c) 07:31, 12 March 2011 (UTC)Reply

URL update suggestion edit

Old format:

http://musicbrainz.org/artist/66fc5bf8-daa4-4241-b378-9bc9077939d2.html

New format:

http://musicbrainz.org/artist/66fc5bf8-daa4-4241-b378-9bc9077939d2

Old URLs still work, but they redirect to new ones. This is true for all MusicBrainz entities, so other MB templates (release, release-group) require update too. LiDEL (talk) 18:31, 25 May 2011 (UTC)Reply

Edit request edit

Insert a code, please.

[http://musicbrainz.org/artist/{{{id|{{{1}}}}}}.html {{{name|{{PAGENAME}}}}}] discography at [[MusicBrainz]]

  • {{{name|{{PAGENAME}}}}} → {{{name|{{{2|{{PAGENAME}}}}}}}}--777sms (talk) 11:47, 15 June 2011 (UTC)Reply
Can you explain what the effect of the change would be, and why it should be done? JamesBWatson (talk) 16:20, 15 June 2011 (UTC)Reply
If it doesn't, pagename is not presented properly. See Sting (musician). So, it should be inserted. See other template Template:BBCMusic artist, Template:Discogs artist, Template:RollingStone artist, Template:VH1 artist--777sms (talk) 16:55, 15 June 2011 (UTC)Reply
The template is currently working as intended. The documentation says that named parameters should be used in the following way:
{{MusicBrainz artist|id=|name=}}
Using named parameters has the advantage that it doesn't matter what order they are specified. So I'm not sure I see the need for this change. — Martin (MSGJ · talk) 09:30, 16 June 2011 (UTC)Reply

Edit request from Gnu andrew, 12 August 2011 edit

{{edit protected}} I'd like to have Category:Articles with MusicBrainz artist links added so there's an easy way of finding all pages that use this template. Gnu andrew (talk) 07:13, 12 August 2011 (UTC)Reply

Can you just use Special:WhatLinksHere/Template:MusicBrainz artist? — Bility (talk) 20:19, 12 August 2011 (UTC)Reply
Not done per above. --Closedmouth (talk) 05:54, 20 August 2011 (UTC)Reply

Convert to meta template edit

{{edit request}} I'm converting all the MB templates (except the wiki) to the new {{MusicBrainz meta}}. This new template will ensure that all of them will use the same URL structure.

So this is what I need it changed to:

<includeonly>{{#if:{{{id|{{{1}}}}}}||<span class="error">ERROR: missing "id" →</span>}}</includeonly>{{MusicBrainz meta|artist|{{{id|{{{1}}}}}}|{{{name|{{PAGENAME}}}}}}} discography at [[MusicBrainz]]<noinclude>
{{Documentation}}
</noinclude>

Dread Lord CyberSkull ✎☠ 12:29, 3 November 2011 (UTC) (original template author)Reply

I'm sorry, I don't think you want a change to this actual article? If that template needs fixing, just edit it, Template:MusicBrainz meta. If I'm mistaken and this is a specific request to change this article, please explain further. Thanks,  Chzz  ►  00:03, 21 November 2011 (UTC)Reply

Convert to meta (again) edit

For whatever reason, I didn't notice that the convert to meta request never went through. So I need the template body changed to

{{MusicBrainz meta|type=artist|id={{{id|{{{1}}}}}}|name={{{name|{{{2}}}}}}}}

This way all functionality will go to the meta template. The links generated by the current template are for an older format. Dread Lord CyberSkull ✎☠ 20:54, 26 April 2013 (UTC) (original author)Reply

Please can you clarify that the code in Template:MusicBrainz artist/sandbox is exactly what you want making live? — Martin (MSGJ · talk) 09:02, 9 May 2013 (UTC)Reply
Poke User:CyberSkull ... — Martin (MSGJ · talk) 11:53, 10 May 2013 (UTC)Reply
Deactivated for now, please reactivate if needed. — Martin (MSGJ · talk) 10:39, 11 May 2013 (UTC)Reply

I've rewritten the sandbox to be the full update to convert this to the meta template. Dread Lord CyberSkull ✎☠ 23:02, 1 October 2013 (UTC)Reply

Hang on. I'm updating new functionality into MB meta. I've put this back on hold. Thank you for your patience. Dread Lord CyberSkull ✎☠ 23:42, 1 October 2013 (UTC)Reply

Poking User:MSGJ! The meta template has just received a large update (now any MB template can get wikidata support by just adding 1 parameter!). The sandbox here now has the current, simpler, up to date code! Dread Lord CyberSkull ✎☠ 03:29, 2 October 2013 (UTC)Reply

  Done. I've tweaked the spacing a bit; hope you don't mind. — Martin (MSGJ · talk) 12:52, 2 October 2013 (UTC)Reply
It's readable, it works, so I'm cool. Dread Lord CyberSkull ✎☠ 05:13, 4 October 2013 (UTC)Reply

Edit request on 28 April 2013: Check Wikidata data edit

This is a set of code that will verify the data against Wikidata, but not actually pull any data from it. You can see a similar example at Template_talk:Commonscat#Edit_request_on_24_April_2013:_Check_Wikidata_errors.

{{#if: {{NAMESPACE}} || <!-- Only use in mainspace -->
 {{#if: {{#property:P434}}
  | {{#ifeq: {{#property:P434}} | {{{id|{{{1|}}}}}}
   | [[Category:MusicBrainz artist id same as Wikidata]] <!-- Good -->
   | [[Category:MusicBrainz artist id different from Wikidata]] <!-- These need to be fixed -->
  }}
  | [[Category:MusicBrainz artist id not in Wikidata]] <!-- Not imported yet -->
 }}
}}

This should be compatible with the above edit protected request. Thanks, Legoktm (talk) 10:05, 28 April 2013 (UTC) Legoktm (talk) 10:05, 28 April 2013 (UTC)Reply

  Done --Rschen7754 10:14, 28 April 2013 (UTC)Reply

Largely unnecessary? edit

{{Authority control}} generates MuscBrainz links automatically or can be told to do so with |MBA=, e.g. with |MBA={{#Property:P434}}. Doesn't that make this template largely unnecessary? All singers, and many other occupations, where this template is used now have the same entry repeated in their Authority control box; e.g. Dolly Parton. -- Michael Bednarek (talk) 02:40, 13 November 2013 (UTC)Reply

The MBA parameter of authority control isn't even documented in Authority_control. --JonnyJD (talk) 21:41, 15 November 2013 (UTC)Reply
Add it then? It's documented at Template:Authority_control#Usage. Legoktm (talk) 22:46, 15 November 2013 (UTC)Reply
My point was rather: properly documenting (and making the documentation visible) should come first. I only found out about the MBA parameter because you told me here. Wikipedia:Authority control certainly looks like it somewhat documents the template and it doesn't give the impression that there is another documentation where different or more parameters are used. I fixed that a bit.
Apart from that, I am not strictly against replacing this template with Authority Control. I have one issue with it though: This template tells that there is a discography to be found at MusicBrainz, Authority Control only gives the ID (although one could somewhat guess that by the name). --JonnyJD (talk) 16:11, 16 November 2013 (UTC)Reply

{{authority control}} is doing MusicBrainz all wrong. Aside from using a wrongly named parameter, it only shows up if there are some other parameters set on the wikidata page. Dread Lord CyberSkull ✎☠ 04:51, 22 February 2014 (UTC)Reply

@CyberSkull: The latter certainly needs fixing; what, do you suggest, needs changing to remedy the former issue? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:39, 25 August 2014 (UTC)Reply

Template-protected edit request on 22 February 2014 edit

For more consistency with MusicBrainz, the id parameter has been renamed to mbid. Functionally, nothing has changed, but the documentation can't be updatded yet until the following code change can be made:

{{MusicBrainz meta
 |type=artist
 |mbid={{{mbid|{{{id|{{{1|{{#if: {{#property:p434}} | {{#property:p434}} |}}}}}}}}}}}
 |name={{{name|{{PAGENAME}}}}}
 |wdc-property=p434
 |wcd-category=MusicBrainz artist
}} discography at [[MusicBrainz]]<noinclude>
{{Documentation}}
</noinclude>

Dread Lord CyberSkull ✎☠ 04:58, 22 February 2014 (UTC)Reply

  Question: @CyberSkull: it looks like your change to the |wcd-category= parameter would break the categorisation scheme. For example, we have Category:MusicBrainz artist id not in Wikidata, but we don't have Category:MusicBrainz artist ID not in Wikidata. Are you planning to migrate the relevant categories as well? — Mr. Stradivarius ♪ talk ♪ 05:25, 22 February 2014 (UTC)Reply
@Mr. Stradivarius:: Oh, that was a mistake on my part. I've changed it to "MusicBrainz artist", to reflect the correct usage. Dread Lord CyberSkull ✎☠ 06:33, 22 February 2014 (UTC)Reply
CyberSkull, shouldn't it be "MusicBrainz artist id"? — {{U|Technical 13}} (tec) 14:18, 23 February 2014 (UTC)Reply
@Technical 13: No, if you look at the rest of them "id" isn't in use in the categories at all. Dread Lord CyberSkull ✎☠ 00:43, 25 February 2014 (UTC)Reply
  Done{{U|Technical 13}} (tec) 00:49, 25 February 2014 (UTC)Reply

Typo in source? edit

In the source, shouldn't 'wcd-category', be 'wdc-category'? --Azertus (talk) 13:53, 21 August 2014 (UTC)Reply

Looking at Template:MusicBrainz meta, it seems you are right. -- Michael Bednarek (talk) 14:02, 21 August 2014 (UTC)Reply
  Done and good catch! – Paine Ellsworth CLIMAX! 02:51, 23 August 2014 (UTC)Reply

Request for comments on "edit in Wikidata" links, for templates using Wikidata edit

  You are invited to join the discussion at Wikipedia talk:Wikidata#Edit in Wikidata links. Thanks. Evad37 [talk] 01:39, 5 June 2015 (UTC)Reply

Tracking categories not working correctly? edit

It seems that many articles are incorrectly added to Category:MusicBrainz artist not in Wikidata. For example 65daysofstatic and The B-52's both have the same respective mbid as that in their Wikidata entries. Other templates based on Template:MusicBrainz meta don't seem to have this problem. The only difference I can see with the other MusicBrainz templates is the capitalization of the property in " |wdc-property=p434", which may be worth trying to capitalize. Anyone sees what's wrong or am I missing something? --Azertus (talk) 11:29, 2 November 2016 (UTC)Reply

Tracking categories and discography pages edit

Just wondering if all the discography pages should be excluded from the Category:MusicBrainz artist not in Wikidata tracking category? I can make a change for this if there are no objections. -- WOSlinker (talk) 21:45, 30 May 2017 (UTC)Reply

@WOSlinker: Go for it! --Azertus (talk) 23:55, 10 September 2018 (UTC)Reply
I had forgotten all about this. Now done. -- WOSlinker (talk) 06:44, 11 September 2018 (UTC)Reply