Help:Interwikimedia links

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

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[edit]

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:]]
[[wikispecies:]]
{{Wikispecies|Pagename}}
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:]]
[[foundation:]]
[[wmf:]]
Wikimedia Commons [[commons:]] [[c:]] {{Commons|Pagename}}
Wikimedia Meta-Wiki [[meta:]]
[[metawikipedia:]]
[[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
[[otrswiki:]]
[[otrs:000000]]
[[ticket:0000000000000000]]
Bugzilla
(formerly MediaZilla)
[[bugzilla:]]
[[mediazilla:]]
Nostalgia [[nost:]]
Test Wikipedia [[testwiki:]]
Wikidata [[wikidata:]] [[d:]]
Outreach Wiki [[outreach:]]
[[outreachwiki:]]
Tool Labs [[toollabs:]]
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[edit]

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[edit]

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[edit]

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.

Examples[edit]

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

Links crossing languages and projects[edit]

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[edit]