Help:Interwiki linking

From InfoAnarchy
Jump to: navigation, search
Help index

Within Wikimedia, linking to a page of another project is possible with internal link style, with a prefix for the other project ("prefixed internal link style").


The following rules apply:

  • a prefix that is "superfluous", because it refers to the same project, is allowed in the case of the prefix en:, de:, etc., w:, and m:, but not for the prefixes wiktionary:, wikibooks:, and wikiquote (in the project itself the last three are taken as namespace prefixes)
  • as demonstrated above by the double prefixes, links may cumulate, thus enabling links that are not possible with a single prefix:
    • links from a Wiktionary or Wikiquote to a Wikipedia other than the English one go through the English Wikipedia
    • links from a Wikipedia to a Wiktionary or Wikiquote other than the English one go through the English Wiktionary
    • links from a Wikipedia to Wikisource go through Meta

Prefixed internal link style is also possible for links to various wikis and some other sites outside Wikimedia, e.g. Wiki:WelcomeVisitors and MeatBall:MeatballWiki, and Google:searchterm. A list of sites is at [1], see also Interwiki map and en:Interwiki.

A prefix other than w:, wiktionary:, wikiquote:, m:, wikibooks, a valid language code, or a valid code for an external wiki, is treated as an internal link: a namespace prefix or just the first part of the name of a page in the main namespace.

The simplest interwiki links consist of the prefix only; they lead to the main page.

Only links within a project may show as broken, leading to the edit page. Existence is not shown for links to pages of other projects, until the link is applied.

Interlanguage link (software feature)

A link of the first type in the list above (en:, de:, etc.) from a Wikipedia to another one, from a Wiktionary to another one, or from a Wikiquote to another one, is treated differently unless it is on a talk page of any namespace: as a special interlanguage link, appearing at one or two edges of the webpage (in Monobook on the left, in Classic at the top and bottom); to make it inline, prefix a colon.

The link label can not be controlled, it is the name of the language in that language. The target is only shown in the hover box and the status bar, depending on the browser.

Therefore this kind of link is mainly suitable for linking to the corresponding page in another language, and not very suitable for multiple links to the same other language. Currently only the first such link in a page is shown in the sidebar. See also Interlanguage use case for a discussion of common troubles with this system and other possible implementations.

The feature can also be used on an image description page, to link to the same or a similar image in a sister project. Other interwiki links to images require the prefixed colon.

Note that a page that might be used as a template, even if it is in an other than the template namespace, is not very suitable for an interlanguage link: such a link appears in the edge of the page that includes the template, giving the impression that the link is to a version in the other language of the referring page instead of the template.


The list of language codes for which this feature applies, including languages which have no Wikipedia, Wiktionary and Wikiquote yet, but for which the feature potentially applies, i.e. applies after the wiki has been created, with local and English name of the language, is Names.php.

The languages that have a Wikipedia and (possibly empty) Wiktionary that are not on the list (commented out) are Klingon (artificial) and Serbocroatian (obsolete). Interwiki links to these always appear in the page body, e.g. tlh:tlhIngan Hol; see also Artificial languages equal rights.

The exceptions apply for linking to those projects, not for linking from them.

Interlanguage link in the wider sense

An interlanguage link in the wider sense includes what, for the software, is a regular link, also an internal one on projects which are shared by different languages: Meta, Wikibooks, Wikisource, Wikiquote, see:

Possible reasons for using an "interlanguage link" in the page body include:

  • control over position
  • control over label
    • especially useful in the case of a page used as a template, so that on the referring page the link label can explain what the link target is.
  • the target contains an anchor

Links from wikis outside Wikimedia (external interwiki links)

Many wikis allow the prefixes WikiPedia (for the English Wikipedia) and MetaWikiPedia, which are in Linking from a CamelCase-wiki (which does not use brackets for links) to a page that contains spaces in its title typically requires substitution of the spaces with underscores, e.g. WikiPedia:Main_Page. For details, refer to the wiki one wants to link from.

See also