Link Wikipedia And MusicBrainz: Difference between revisions
(the principle of authors is pretty stupid on wiki's I guess (Imported from MoinMoin)) |
(formatting changes + moved discussion (Imported from MoinMoin)) |
||
Line 1: | Line 1: | ||
=Linking Wikipedia and MusicBrainz together= |
=Linking Wikipedia and MusicBrainz together= |
||
[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. |
[http://en.wikipedia.org/wiki/Main_Page 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== |
==Linking from MusicBrainz to Wikipedia== |
||
Line 8: | Line 8: | ||
==Linking from Wikipedia to MusicBrainz== |
==Linking from Wikipedia to MusicBrainz== |
||
A list of each article with a link to [[MusicBrainz]] is available here: |
|||
[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. |
|||
===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 templates |
||
* {{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]), |
||
* {{Musicbrainz album|id=PERMALINKCODE|name=NAMEOFALBUM}}, |
* <code><nowiki>{{Musicbrainz album|id=PERMALINKCODE|name=NAMEOFALBUM</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:Musicbrainz_album link]), |
||
<ul><li style="list-style-type:none">''link to the earliest release'' |
|||
⚫ | |||
* <code><nowiki>{{Musicbrainz track|id=PERMALINKCODE|name=NAMEOFARTIST</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:Musicbrainz_track link]), |
|||
<ul><li style="list-style-type:none">''link to the earliest release'' |
|||
⚫ | |||
to link to [[MusicBrainz]] objects, and |
to link to [[MusicBrainz]] objects, and |
||
* {{Musicbrainz wiki|PAGENAME}} |
* <code><nowiki>{{Musicbrainz wiki|PAGENAME</nowiki></code>}} ([http://en.wikipedia.org/wiki/Template:Musicbrainz_wiki link]), |
||
<ul><li style="list-style-type:none">''good for the references/external links section'' |
|||
⚫ | |||
</ul> |
|||
* <code><nowiki>[[!MusicBrainz:PAGENAME]]</nowiki></code>, |
|||
⚫ | |||
</ul> |
|||
to link to the |
to link to the Musicbrainz wiki, where the ALLCAPSWORDS are arguments. |
||
===Linking from the German Wikipedia to MusicBrainz=== |
===Linking from the German Wikipedia to MusicBrainz=== |
||
Line 39: | Line 39: | ||
See [http://de.wikipedia.org/wiki/ABBA#Weblinks http://de.wikipedia.org/wiki/ABBA#Weblinks] for an example. |
See [http://de.wikipedia.org/wiki/ABBA#Weblinks http://de.wikipedia.org/wiki/ABBA#Weblinks] for an example. |
||
A list of each article using this template is available [http://de.wikipedia.org/w/wiki.phtml?title=Spezial:Whatlinkshere&target=Vorlage%3AMusicbrainz here]. |
|||
⚫ | |||
You can export each article with [[Media Wiki|MediaWiki]]'s XML-export function and parse the template link to get the coresponding [[MusicBrainz]] ID. |
|||
⚫ | |||
⚫ | |||
<pre> ABBA; artist/d87e52c5-bb8d-4da8-b941-9f4928627dc8.html |
|||
.. ... |
|||
ZZ TOP; artist/a81259a0-a2f5-464b-866e-71220f2739f1.html |
|||
⚫ | |||
⚫ | |||
You can leave me a comment at my Wikipedia user page: [http://de.wikipedia.org/w/wiki.phtml?title=Benutzer_Diskussion:JakobVoss&action=edit§ion=new http://de.wikipedia.org/w/wiki.phtml?title=Benutzer_Diskussion:JakobVoss&action=edit§ion=new] |
|||
<ul><li style="list-style-type:none">I'm afraid not. We have 190k artists. This would make no sense. --[[User:Shepard|Shepard]] |
|||
⚫ | |||
[[Category:To Be Reviewed]] [[Category:Documentation]] [[Category:External]] |
[[Category:To Be Reviewed]] [[Category:Documentation]] [[Category:External]] |
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?