Link Wikipedia And MusicBrainz: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(formatting changes + moved discussion (Imported from MoinMoin))
((Imported from MoinMoin))
Line 24: Line 24:
<ul><li style="list-style-type:none">''good for the references/external links section''
<ul><li style="list-style-type:none">''good for the references/external links section''
</ul>
</ul>
* <code><nowiki>[[!MusicBrainz:PAGENAME]]</nowiki></code>,
* <code><nowiki>[[MusicBrainz:PAGENAME]]</nowiki></code>,
<ul><li style="list-style-type:none">''better to use in the middle of a sentence''
<ul><li style="list-style-type:none">''better to use in the middle of a sentence''
</ul>
</ul>

Revision as of 14:24, 26 October 2005

Linking Wikipedia and MusicBrainz together

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.

Linking from MusicBrainz to Wikipedia

You can use the WikipediaRelationshipType to add an AdvancedRelationship (AR) between an artist or album and their Wikipedia url.

Linking from Wikipedia to MusicBrainz

Linking from the English Wikipedia to MusicBrainz

At the English Wikipedia, use the templates

  • {{Musicbrainz artist|id=PERMALINKCODE|name=NAMEOFARTIST}} (link),
  • {{Musicbrainz album|id=PERMALINKCODE|name=NAMEOFALBUM}} (link),
  • link to the earliest release
  • {{Musicbrainz track|id=PERMALINKCODE|name=NAMEOFARTIST}} (link),
  • link to the earliest release

to link to MusicBrainz objects, and

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

to link to the Musicbrainz wiki, where the ALLCAPSWORDS are arguments.

Linking from the German Wikipedia to MusicBrainz

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. So if you want to link to a MusicBrainz artist page in Wikipedia use the following code in the article:

 {{musicbrainz|ROWID}}

See http://de.wikipedia.org/wiki/ABBA#Weblinks for an example.

A list of each article using this template is available here.

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

Discussion

Is it ok to use this icon: File:Musicbrainz.png under GFDL?