Jump to content

Help:Interwikimedia links: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 44: Line 44:
| <code>[[[[s:]]]]</code>
| <code>[[[[s:]]]]</code>
| <code><nowiki>{{</nowiki>[[Template:Wikisource|Wikisource]]|Pagename<nowiki>}}</nowiki></code>
| <code><nowiki>{{</nowiki>[[Template:Wikisource|Wikisource]]|Pagename<nowiki>}}</nowiki></code>
|-
| [[Wikisource]] (common repository)
| <code>[[[[oldwikisource:]]]]</code>
| <code></code>
| <code><nowiki>{{</nowiki>[[Template:Oldwikisource|Oldwikisource]]|Pagename<nowiki>}}</nowiki></code>
|-
|-
| [[Wikispecies]]
| [[Wikispecies]]

Revision as of 18:20, 13 January 2009

An interwikimedia link is a link from a Wikimedia project to another one (e.g., from Wikipedia to Wiktionary).

Shortcuts and templates to Wikimedia sister projects

Project Long form Shortcut Pagename template
Wikipedia [[wikipedia:]] [[w:]] {{Wikipedia|Pagename}}
Wiktionary [[wiktionary:]] [[wikt:]] {{Wiktionary|Pagename}}
Wikinews [[wikinews:]] [[n:]] {{Wikinews|Pagename}}
Wikibooks [[wikibooks:]] [[b:]] {{Wikibooks|Pagename}}
Wikiquote [[wikiquote:]] [[q:]] {{Wikiquote|Pagename}}
Wikisource [[wikisource:]] [[s:]] {{Wikisource|Pagename}}
Wikisource (common repository) [[oldwikisource:]] {{Oldwikisource|Pagename}}
Wikispecies [[species:]]
[[wikispecies:]]
{{Wikispecies|Pagename}}
Wikiversity [[wikiversity:]] [[v:]] {{Wikiversity|pagename}}
Wikimedia Foundation [[wikimedia:]]
[[foundation:]]
[[wmf:]]
Wikimedia Commons [[commons:]] {{Commons|Pagename}}
Wikimedia Meta-Wiki [[meta:]]
[[metawikipedia:]]
[[m:]] {{Meta|Pagename}}
Wikimedia Incubator [[incubator:]] {{Incubator|Pagename}}
MediaWiki [[mw:]] {{MediaWiki|Pagename}}
MediaWiki Quality [[quality:]]
Bugzilla
(formerly MediaZilla)
[[bugzilla:]]
[[mediazilla:]]
Nostalgia [[nost:]]
Test Wikipedia [[testwiki:]]

Some links don't work as expected within the same project, e.g., meta:Test on Meta itself would mean m:Meta:Test, a different page. Outside of Wikimedia sister projects only metawikipedia:Test might work for m:Test.

Links to foreign-language Wikiprojects can be made by prefixing the language code: [[:de:s:]] will link to the German-language Wikisource, [[:fr:wikt:]] to the French-language Wiktionary, etc.

Suppressing the prefix

The Pipe trick
Add | at the end of the link, like this: [[s:test|]], which will automatically be expanded to [[s:test|test]] on saving.

Special versions of Wikipedia

There are also two special versions of Wikipedia, nostalgia and test. Nostalgia is a static copy of Wikipedia as it was in 2001, and can be linked to by using [[nost:]]. Test is a version of Wikipedia for edit and software testing, and can be linked to by using [[testWiki:]].

Examples

Wikitext Results
[[:en:Main Page]]
[[:de:Hauptseite]]
etc.
en:Main Page
de:Hauptseite
etc.
[[commons:Main Page]]
commons:Main Page
[[commons:category:Wikimedia]]
commons:category:Wikimedia
[[wikibooks:Main Page|]]
Main Page
[[wikt:de:Rechner]]
wikt:de:Rechner
[[wiktionary:de:Rechner|]]
de:Rechner

As demonstrated above by the double prefixes (for example [[wikt:de:Main Page]]), links may cumulate, thus enabling links that are not possible with a single prefix, for example linking a word in the English Wikipedia to a term in the German Wiktionary.

See also