Help:Interwiki linking

From: Everything Food &
Jump to: navigation, search

There are five sorts of links in MediaWiki:

  1. Internal links to other pages in the wiki
  2. External links to other websites
  3. External links to internal pages in the wiki
  4. Interwiki links to other websites registered to the wiki in advance
  5. Interlanguage links to other websites registered as other language versions of the wiki

By adding a prefix to another project, internal link style ("prefixed internal link style") can be used to link to a page of another project. A system of short-handed link labels is used to refer to different projects, in the context of interproject linking, as seen within the actual source text. For example, en: refers to the English Wikipedia. This is seen in [[en:Apple]], which produces a link to the English Wikipedia article on "Apple". Interwiki links which link different language Wikipedias are known as Interlanguage links.

This is called interwiki. For each project, an interwiki map (a list of target projects with their prefixes) is specified (example). These target projects need not use MediaWiki and need not even be a wiki.

Interwiki links

Interwiki links are links with the internal link markup to a website registered in advance. For example, you can link to the Sunflower article on by typing [[wikipedia:Sunflower]], which will result in a link wikipedia:Sunflower. This is because is registered to your wiki by default with the prefix of wikipedia. This link may not work properly, if the admin of your wiki has changed the setting. Unlike internal links, interwiki links do not use page existence detection, so an interwiki link will appear blue even if the page does not exist on the remote wiki.

Similar to internal page links, you can create piped links, with alternate link label, e.g. [[wikipedia:Sunflower|big yellow flower]], this is the link big yellow flower.

Basically this is an abbreviation for longer URLs. A very similar link could be created as a normal external link by typing [ big yellow flower], but interwiki links allow you to type out an easy and compact link, almost as if you are linking to a page on your own wiki.

More details are at Manual:Interwiki. To edit the interwiki table on your site, see the InterWiki extension.

Project interwiki links and statuses

For a complete list of interwiki links and their status for each wiki within the project See:

Project titles and shortcuts

Red links are not activated. If you need a prefix activated please post a request at the Community noticeboard.

Project Long form Shortcut
Everything Food & Drink [[[[efd:]]]]
MyWiki [[mywiki:]] [[myw:]]
WizardWiki [[wizardwiki:]] [[wiz:]]
Project bug tracking [[bugs:]]
Wikipedia [[wikipedia:]] [[wp:]]
Wiktionary [[wiktionary:]] [[wikt:]]
Wikinews [[wikinews:]] [[wn:]]
Wikibooks [[wikibooks:]] [[wb:]]
Wikiquote [[wikiquote:]] [[wq:]]
Wikisource [[wikisource:]] [[ws:]]
Wikispecies [[wikispecies:]] [[species:]]
Wikiversity [[wikiversity:]] [[wv:]]
Wikimedia Foundation [[wikimedia:]] [[wmf:]]
Wikimedia Commons [[commons:]] [[com:]]
Wikimedia Meta-Wiki [[metawikipedia:]] [[meta:]]
MediaWiki [[mediawikiwiki:]] [[[[mw:]]]]
Testwiki [[testwiki:]] [[wtw:]]
semantic-mediawiki [[semantic:]] [[smw:]]

The long form doesn't work within the same project. The shortcut works everywhere. (That is the intention; currently, it does not work on all projects).

The interwiki map on Meta lists many prefixes, among others, [[wikipedia:]] (wikipedia:) for the English Wikipedia, working from any Wiki supporting the Meta interwiki map, not only from MediaWiki wikis. Some prefixes work only with a page, for example: wikipediawikipedia: (fails) vs. Wikipedia:Interwikimedia link (works). These prefixes are case insensitive.

Non-Wikimedia interwiki codes have a limitation, that they can only be used through a link. For example, the entry for "John" on Wiktionary, a Wikimedia project, can be accessed by [[wikt:John]] or However, the latter method does not work for non-Wikimedia wikis. For example, the main page on the Bugzilla can be accessed via [[bugzilla:Main Page]], but results in an error.

Language: English