Link Wikipedia And MusicBrainz: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(corrected german linking schema (Imported from MoinMoin))
(→‎Linking from the French Wikipedia to MusicBrainz: Update: there is now a relatively well-accepted template {{bases musiques}}. Removal of the part about links from MBZ to Wikipedia, as it is simpler to have a single link to Wikidata.)
 
(41 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[http://www.wikipedia.org/ Wikipedia] is an online wiki-based encyclopedia in multiple languages that is dual-licensed under the Creative Commons Attribution-Sharealike 3.0 License (CC-BY-SA) and the GNU Free Documentation License (GFDL). It contains many articles on bands and other artists. This is a short draft describing the possible collaboration between MusicBrainz and Wikipedia.
=Linking Wikipedia and MusicBrainz together=


==Linking from MusicBrainz to Wikipedia==
[[Image:Attention.png]] ''Oops, this page was a duplicate of [[Wikipedia And MusicBrainz|WikipediaAndMusicBrainz]]. The cluster of [[Wikipedia|WikiPedia]] (missing) [[Wikipedia And MusicBrainz|WikipediaAndMusicBrainz]] and LinkWikipediaAndMusicBrainz has been restructured.''


Since 2015, the preference is to link to Wikidata (not Wikipedia) which serves as a bridge for all languages. You can use the Wikidata relationship to add [[Relationships|relationships]] between artists, labels and albums and their Wikidata URLs.
[http://wikipedia.org Wikipedia] is an online encyclopedia Wiki in multiple languages that is licensed under the GNU Free Documentation License. It contains many articles on bands and other artists. This is a short draft describing the possible collaboration between [[MusicBrainz]] and Wikipedia.


See https://blog.metabrainz.org/tag/wikidata/ and https://musicbrainz.org/doc/Style/Relationships/URLs for additional information.
==Linking from MusicBrainz to WikiPedia==


===Benefits of linking from MusicBrainz to Wikidata===
You can use the [[Wikipedia Relationship Type|WikipediaRelationshipType]] to add an [[Advanced Relationships|AdvancedRelationship]] (AR) between an artist or album and their Wikipedia url.


There are a number of benefits:
===Thoughts===


* Changes to Wikipedia page names causes broken links across MusicBrainz (more common than you would think). Use Wikidata IDs ensures changes a link to a canonical identifier that will not change in the future.
Once there are enough Wikipedia articles linking to [[MusicBrainz]], a link from [[MusicBrainz]] database entries to Wikipedia articles in different languages could be added. A list of each article with a link to [[MusicBrainz]] is available here:
* Wikidata supports multiple languages so MusicBrainz can link to the same language in use by MusicBrainz users.

* The BBC (see [[BBC Teams Editing MusicBrainz]]) uses MusicBrainz to generate tracklists, discographies and artist profile info on its music website, [http://www.bbc.co.uk/music bbc.co.uk/music]. Adding a relationship between an artist and a Wikidata URL automatically generates a biography on the BBC site e.g. [http://www.bbc.co.uk/music/artists/561d854a-6a28-4aa7-8c99-323e6ce46c2a Miles Davis].
[http://de.wikipedia.org/w/wiki.phtml?title=Spezial:Whatlinkshere&target=Vorlage%3AMusicbrainz http://de.wikipedia.org/w/wiki.phtml?title=Spezial:Whatlinkshere&target=Vorlage%3AMusicbrainz]

[http://en.wikipedia.org/w/wiki.phtml?title=Special:Whatlinkshere&target=Template%3AMusicbrainz http://en.wikipedia.org/w/wiki.phtml?title=Special:Whatlinkshere&target=Template%3AMusicbrainz]

You can export each article with [[Media Wiki|MediaWiki]]'s XML-export function and parse the template link to get the coresponding [[MusicBrainz]] ID.

===Discussion===

# Can you create a simple list of all artists and their permanent link URL? We could add links from Wikipedia to [[MusicBrainz]] much more easily this way!
# Is it ok to use this icon: [[Image:Musicbrainz.png]] under GFDL?

<pre> ABBA; artist/d87e52c5-bb8d-4da8-b941-9f4928627dc8.html
.. ...
ZZ TOP; artist/a81259a0-a2f5-464b-866e-71220f2739f1.html
</pre>

You can leave me a comment at my Wikipedia user page: [http://de.wikipedia.org/w/wiki.phtml?title=Benutzer_Diskussion:JakobVoss&action=edit&section=new http://de.wikipedia.org/w/wiki.phtml?title=Benutzer_Diskussion:JakobVoss&action=edit&section=new]


==Linking from Wikipedia to MusicBrainz==
==Linking from Wikipedia to MusicBrainz==
Line 35: Line 19:
===Linking from the English Wikipedia to MusicBrainz===
===Linking from the English Wikipedia to MusicBrainz===


At the English Wikipedia, use the templates
At the English Wikipedia, use the following templates to link to [[MusicBrainz]] objects (ALLCAPSWORDS are arguments):
* {{Musicbrainz artist|id=PERMALINKCODE|name=NAMEOFARTIST}},
* <code><nowiki>{{MusicBrainz artist|id=PERMALINKCODE|name=NAMEOFARTIST</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:MusicBrainz_artist link])
* <code><nowiki>{{MusicBrainz release-group|id=PERMALINKCODE|name=NAMEOFRELEASEGROUP</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:MusicBrainz_release-group link])
* {{Musicbrainz album|id=PERMALINKCODE|name=NAMEOFALBUM}},
* {{Musicbrainz track|id=PERMALINKCODE|name=NAMEOFARTIST}} (''link to the earliest release''),
* <code><nowiki>{{MusicBrainz release|id=PERMALINKCODE|name=NAMEOFRELEASE</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:MusicBrainz_release link]) (link to the earliest release when using this)
* <code><nowiki>{{MusicBrainz track|id=PERMALINKCODE|name=NAMEOFTRACK</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:MusicBrainz_track link]) (link to the earliest release when using this)
* <code><nowiki>{{MusicBrainz label|id=PERMALINKCODE|name=NAMEOFLABEL</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:MusicBrainz_label link])


to link to [[MusicBrainz]] objects, and
and these ones to link to the MusicBrainz wiki:
* {{Musicbrainz wiki|PAGENAME}} -- ''good for the references/external links section'' --,
* <code><nowiki>{{MusicBrainz wiki|PAGENAME</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:MusicBrainz_wiki link]), (good for the references/external links section)
* [[MusicBrainz:PAGENAME]] -- ''better to use in the middle of a sentence'' --,
* <code><nowiki>[[MusicBrainz:PAGENAME]]</nowiki></code> (better to use in the middle of a sentence)


===Linking from the Polish Wikipedia to MusicBrainz===
to link to the [[Musicbrainz Wiki|MusicbrainzWiki]], where the ALLCAPSWORDS are arguments.

At the Polish Wikipedia, use the templates:
* <code><nowiki>{{MusicBrainz artist|id=PERMALINKCODE|name=NAMEOFARTIST</nowiki></code>}} ([http://pl.wikipedia.org/wiki/Szablon:MusicBrainz_artist link])([http://pl.wikipedia.org/w/index.php?title=Specjalna%3ALinkuj%C4%85ce&hideredirs=1&hidelinks=1&target=Szablon%3AMusicBrainz+artist&namespace=0 adoption])
* <code><nowiki>{{MusicBrainz release-group|id=PERMALINKCODE|name=NAMEOFRELEASEGROUP</nowiki></code>}} ([http://pl.wikipedia.org/wiki/Szablon:MusicBrainz_release-group link])([http://pl.wikipedia.org/w/index.php?title=Specjalna%3ALinkuj%C4%85ce&hideredirs=1&hidelinks=1&target=Szablon%3AMusicBrainz+release-group&namespace=0 adoption])
* <code><nowiki>{{MusicBrainz release|id=PERMALINKCODE|name=NAMEOFRELEASE</nowiki></code>}} ([http://pl.wikipedia.org/wiki/Szablon:MusicBrainz_release link])([http://pl.wikipedia.org/w/index.php?title=Specjalna%3ALinkuj%C4%85ce&hideredirs=1&hidelinks=1&target=Szablon%3AMusicBrainz+release&namespace=0 adoption]) (link to the earliest release when using this)
* <code><nowiki>{{MusicBrainz label|id=PERMALINKCODE|name=NAMEOFLABEL</nowiki></code>}} ([http://pl.wikipedia.org/wiki/Szablon:MusicBrainz_label link])([http://pl.wikipedia.org/w/index.php?title=Specjalna%3ALinkuj%C4%85ce&hideredirs=1&hidelinks=1&target=Szablon%3AMusicBrainz+label&namespace=0 adoption])


===Linking from the German Wikipedia to MusicBrainz===
===Linking from the German Wikipedia to MusicBrainz===


At the German Wikipedia, use the templates
Unfortunatly the German Wikipedia changed its template and currently only artists can be linked and only with the Row ID. Don't ask why, its simply stupid. You can help discussing about this at [http://de.wikipedia.org/wiki/Vorlage_Diskussion:Musicbrainz http://de.wikipedia.org/wiki/Vorlage_Diskussion:Musicbrainz]. So if you want to link to a [[Msuic Brainz|MsuicBrainz]] artist page in Wikipedia use the following code in the article:
* <code><nowiki>{{MusicBrainz Künstler|id=PERMALINKCODE|name=NAMEOFARTIST</nowiki></code>}} ([http://de.wikipedia.org/wiki/Vorlage:MusicBrainz_K%C3%BCnstler link])

* <code><nowiki>{{MusicBrainz Album|id=PERMALINKCODE|name=NAMEOFALBUM</nowiki></code>}} ([http://de.wikipedia.org/wiki/Vorlage:MusicBrainz_Album link]) (link to the earliest release when using this)
<pre> {{musicbrainz|ROWID}}
* <code><nowiki>{{MusicBrainz Label|id=PERMALINKCODE|name=NAMEOFLABEL</nowiki></code>}} ([http://de.wikipedia.org/wiki/Vorlage:MusicBrainz_Label link])
</pre>


===Linking from the French Wikipedia to MusicBrainz===
See [http://de.wikipedia.org/wiki/ABBA#Weblinks http://de.wikipedia.org/wiki/ABBA#Weblinks] for an example.


The preferred way to link to MusicBrainz is through the [https://fr.wikipedia.org/wiki/Mod%C3%A8le:Bases_musique <nowiki>{{Bases musique}}</nowiki>] template, which is populated from Wikidata. French Wikipedians were [https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Le_Bistro/10_mai_2007#Liens_externes_vers_MusicBrainz opposed] to links to MusicBrainz in 2007, and large scale insertion of <nowiki>{{Bases musique}}</nowiki> may still be controversial.
----Original authors: [[User:azertus|azertus]] & [[Jakob Voss|JakobVoss]]


[[Category:To Be Reviewed]] [[Category:Needs Categories]] [[Category:External]]
[[Category:External]] [[Category:To Be Reviewed]]

Latest revision as of 09:43, 14 September 2019

Wikipedia is an online wiki-based encyclopedia in multiple languages that is dual-licensed under the Creative Commons Attribution-Sharealike 3.0 License (CC-BY-SA) and the GNU Free Documentation License (GFDL). It contains many articles on bands and other artists. This is a short draft describing the possible collaboration between MusicBrainz and Wikipedia.

Linking from MusicBrainz to Wikipedia

Since 2015, the preference is to link to Wikidata (not Wikipedia) which serves as a bridge for all languages. You can use the Wikidata relationship to add relationships between artists, labels and albums and their Wikidata URLs.

See https://blog.metabrainz.org/tag/wikidata/ and https://musicbrainz.org/doc/Style/Relationships/URLs for additional information.

Benefits of linking from MusicBrainz to Wikidata

There are a number of benefits:

  • Changes to Wikipedia page names causes broken links across MusicBrainz (more common than you would think). Use Wikidata IDs ensures changes a link to a canonical identifier that will not change in the future.
  • Wikidata supports multiple languages so MusicBrainz can link to the same language in use by MusicBrainz users.
  • The BBC (see BBC Teams Editing MusicBrainz) uses MusicBrainz to generate tracklists, discographies and artist profile info on its music website, bbc.co.uk/music. Adding a relationship between an artist and a Wikidata URL automatically generates a biography on the BBC site e.g. Miles Davis.

Linking from Wikipedia to MusicBrainz

Linking from the English Wikipedia to MusicBrainz

At the English Wikipedia, use the following templates to link to MusicBrainz objects (ALLCAPSWORDS are arguments):

  • {{MusicBrainz artist|id=PERMALINKCODE|name=NAMEOFARTIST}} (link)
  • {{MusicBrainz release-group|id=PERMALINKCODE|name=NAMEOFRELEASEGROUP}} (link)
  • {{MusicBrainz release|id=PERMALINKCODE|name=NAMEOFRELEASE}} (link) (link to the earliest release when using this)
  • {{MusicBrainz track|id=PERMALINKCODE|name=NAMEOFTRACK}} (link) (link to the earliest release when using this)
  • {{MusicBrainz label|id=PERMALINKCODE|name=NAMEOFLABEL}} (link)

and these ones to link to the MusicBrainz wiki:

  • {{MusicBrainz wiki|PAGENAME}} (link), (good for the references/external links section)
  • [[MusicBrainz:PAGENAME]] (better to use in the middle of a sentence)

Linking from the Polish Wikipedia to MusicBrainz

At the Polish Wikipedia, use the templates:

  • {{MusicBrainz artist|id=PERMALINKCODE|name=NAMEOFARTIST}} (link)(adoption)
  • {{MusicBrainz release-group|id=PERMALINKCODE|name=NAMEOFRELEASEGROUP}} (link)(adoption)
  • {{MusicBrainz release|id=PERMALINKCODE|name=NAMEOFRELEASE}} (link)(adoption) (link to the earliest release when using this)
  • {{MusicBrainz label|id=PERMALINKCODE|name=NAMEOFLABEL}} (link)(adoption)

Linking from the German Wikipedia to MusicBrainz

At the German Wikipedia, use the templates

  • {{MusicBrainz Künstler|id=PERMALINKCODE|name=NAMEOFARTIST}} (link)
  • {{MusicBrainz Album|id=PERMALINKCODE|name=NAMEOFALBUM}} (link) (link to the earliest release when using this)
  • {{MusicBrainz Label|id=PERMALINKCODE|name=NAMEOFLABEL}} (link)

Linking from the French Wikipedia to MusicBrainz

The preferred way to link to MusicBrainz is through the {{Bases musique}} template, which is populated from Wikidata. French Wikipedians were opposed to links to MusicBrainz in 2007, and large scale insertion of {{Bases musique}} may still be controversial.