Help:Interwikimedia links

From Wikipedia, the free encyclopedia
  (Redirected from Help:InterWikimedia links)
Jump to: navigation, search

An interwikimedia link is a link from a Wikimedia Foundation supported 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:]
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:] {{WikisourceWiki|Pagename}}
Wikispecies [species:]
Wikiversity [wikiversity:] [v:] {{Wikiversity|pagename}}
Wikiversity Beta [betawikiversity:]
Wikivoyage [wikivoyage:] [voy:] {{Wikivoyage|pagename}}
Wikipedia in another language * [language code:wikipedia:]] [language code:]], [language code:w:]]
Wikimedia Foundation [wikimedia:]
Wikimedia Commons [commons:] {{Commons|Pagename}}
Wikimedia Meta-Wiki [meta:]
[m:] {{Meta|Pagename}}
Strategic planning [strategy:]
Wikimedia Incubator [incubator:] {{Incubator|Pagename}}
MediaWiki [mediawikiwiki:] [mw:] {{MediaWiki|Pagename}}
MediaWiki Quality [quality:]
MediaWiki OTRS
ticket with TicketID
ticket with TicketNumber
(formerly MediaZilla)
Nostalgia [nost:]
Test Wikipedia [testwiki:]
Wikidata [wikidata:] [d:] {{Wikidata|Pagename}}
Outreach Wiki [outreach:]
International chapters of Wikimedia Shortcut
Argentina [wmar:]
Australia [wmau:]
Belgium [wmbe:]
Canada [wmca:]
Switzerland [wmch:]
Czech Republic [wmcz:]
Germany [wmde:]
Finland [wmfi:]
Hong Kong [wmhk:]
Hungary [wmhu:]
India [wmin:]
Indonesia [wmid:]
Israel [wmil:]
Italy [wmit:]
Macedonia [wmmk:]
Netherlands [wmnl:]
Norway [wmno:]
Poland [wmpl:]
Russia [wmru:]
Serbia [wmrs:]
Sweden [wmse:]
Turkish [wmtr:]
Taiwan [wmtw:]
United Kingdom [wmuk:]

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 adding the language code: [[:s:de:Salz]] or [[:de:s:Salz]] will link to the German-language Wikisource, [[:wikt:fr:sel]] or [[:fr:wikt:sel]] to the French-language Wiktionary, etc. For the language codes see List of wikipedias.

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. Note that this only works for the first prefix, so saving [[s:en:test|]], will automatically expand to [[s:en:test|en:test]], not [[s:en:test|test]].

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:]].

Secure server

Links created by the methods described on this page default to being unencrypted; if the current (referring) page is being browsed via an HTTPS connection, all interproject and wikilinks on that page will be rewritten to https://.

Previously, to create interproject links that would use the respective Wikipedia:Secure server the {{sec link auto}} template was needed. However, as interwiki links now generate protocol-independent links, wrapping with this template is now no longer required.


Wikitext Results
[[:en:Main Page]]
en:Main Page
[[commons:Main Page]]
commons:Main Page
[[wikibooks:Main Page|]]
Main Page

Links crossing languages and projects

As demonstrated above, by the double prefixes (for example [[wikt:de:Main Page]]), prefixes can be combined, thus enabling links that are not possible with a single prefix. For example; one can link a word in the English Wikipedia to a term in the German Wiktionary. The order of the prefixes does not matter. [[:de:wikt:Main Page]] will also work. Remember to put a colon in front of a link starting with a language prefix.

See also

Creative Commons License