Jump to content

Help:Interwikimedia links

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 113.23.49.1 (talk) at 19:11, 26 April 2019. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Hiding the visible prefix

To suppress the first, visible prefix in the saved page, use the pipe trick: Add | at the end of the link, like this: [[s:test|]]. Upon saving your edits, it will be expanded to [[s:test|test]]. Note that this only works for the first prefix, so saving [[s:en:test|]], will automatically expand to [[s:en:test|en:test]], not to [[s:en:test|test]].

Doubling prefixes

As demonstrated in the examples below, combining certain prefixes allow them to be combined, thus enabling direct page 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, or [[link to a category in the Commons.

When using language codes, the order of the prefixes does not matter. Remember to put a colon in front of a link starting with a language prefix; however, the colon is optional if the link starts with the project code prefix and then has the language prefix. See the last two examples in the table below.

When using the category prefix, the order of the prefixes does matter. The order must be [[project:category:category-name]]. Starting with a colon and the prefix category links to categories on this Wikipedia, creating a red link if the category doesn't exist. Without the colon but starting with the prefix category, nothing appears in the saved page.

Wikitext Results

[[:en:Main Page]]
[[:de:Hauptseite]]

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

Linking to international chapters of Wikimedia

Note that these shortcuts do not link to the versions of Wikipedia (or to other reader-focused, information-delivering projects such as Wiktionary) in languages other than English, but instead to link to the localized equivalent of http://www.wikimedia.com (that is, modified for the local language, country or culture).

International chapters of Wikimedia Shortcut
Argentina [[wmar:]]
Australia [[wmau:]]
Bangladesh [[wmbd:]]
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:]]
Spain [[wmes:]]
Sweden [[wmse:]]
Turkish [[wmtr:]]
Taiwan [[wmtw:]]
Ukraine [[wmua:]]
United Kingdom [[wmuk:]]

See also