Help:Interlanguage links#Wikidata

{{pp-semi-indef|small=yes}}

{{short description|Links between different language versions of Wikipedia}}

{{for-multi|style guidelines about links|MOS:LINK|linking between Wikimedia sister projects (e.g. from Wikipedia to Wiktionary)|Help:Interwiki linking|a list of Wikipedias in other languages with their language codes|List of Wikipedias#Table|a list of interlanguage codes|list of ISO 639-1 codes|and|meta:List of Wikipedias}}

{{Wikipedia how-to|H:IL|WP:ILL}}

{{Linking and page manipulation|linking and diffs}}

Interlanguage links are links from a Wikipedia article in one language to a corresponding page in another language. These links are accessible through the language dropdown menu, which appears as: {{border|File:OOjs UI icon language-ltr-progressive.svg {{color|#3568CD|XX languages}}}}, in the upper right corner of the page when using the default Vector 2022 skin. In other skins, it can be found in the "Languages" section of the page's left sidebar.Skins can be changed in your Special:Preferences § Appearance.

Less commonly, interlanguage links can be used as inline links in the text of a Wikipedia page using the {{tlg|Interlanguage link}} template.

These two types of links are created and handled differently.

= Wikidata =

File:Interlanguage links provided by WikiData.png

Wikidata is a sister project of Wikipedia; it is a collaboratively edited knowledge base. Part of this project is to centralize the interlanguage links for all the Wikipedia projects. The "Languages" list for a page contains a list of links to a version of that page in different languages. Editing that list on Wikidata is the standard procedure to add or modify interlanguage links.

=== Finding interlanguage links for an article ===

There are many ways Wikipedia articles in other languages can be found. These include translating the article's title and its synonyms to other languages and searching for them on the respective language-versions of Wikipedia or on Google, searching for articletitle site:wikipedia.org -site:en.wikipedia.org (for non-English Wikipedia articles), and checking related or superordinate articles or categories in other Wikipedias.

== Syntax ==

:{{A note}} The syntax for the side bar and running text are slightly different. See next section for the syntax within the running text.

Although they are useful only in rare cases, you can force the generation of one of these local interlanguage link overrides in the article using the following form:

language code:Title

where the language code is the two-letter code as per ISO 639-1. (see complete list of language Wikipedias available. English is "en", German is "de", etc.) So for example in the English language article on plankton, which is available on many other wikis, the "local" interlanguage links (if you were to want to generate them) might look like this:

ar:عوالق

el:Πλαγκτόν

fa:پلانکتون

he:פלנקטון

ja:プランクトン

ko:플랑크톤

ru:Планктон

ta:மிதவைவாழி

te:ప్లవకాలు

th:แพลงก์ตอน

zh:浮游生物

:{{A note}} Typically these links do not need to be generated manually like this, and will not show up in the page’s source text . These links are usually generated by the wiki software language selector extension in a special sidebar section or drop-down menu, "{{int:otherlanguages}}", listed by language name.

To force the "local" generation in the Languages list of the article of all the languages of a different Wikidata item, use :Template:Interwiki extra. For example, the Murder of Kitty Genovese automatically links languages listed at {{Q|Q18341392}}; to add the language links at {{Q|Q238128}}, use {{Interwiki extra|Q238128}}. Links to non-English Wikipedia articles to both topics will then appear in the Languages list.

= Featured articles and good articles =

Featured or good articles are represented via Wikidata.

In an article's list of interlanguage links, featured articles are displayed with a gold star, while good articles are displayed with a gray star.

Inline links (links in the text of the article)<span class="anchor" id="Inline links"></span>

{{shortcut|H:FOREIGNLINK}}

{{see also|WP:External links#Non-English-language content|WP:MOSSIS|label 2=Guideline on use of inline links to sister projects}}

:{{A note}} The syntax for the side bar and running text are slightly different. See prior section for the syntax within the side bar.

When the English Wikipedia doesn't have an article, the links to it show up as red links. For example, we don't have an article on Erich Anders (it shows up as a red link), but the German Wikipedia does. There are a few options available:

  1. The best practice is to use the template {{tl|interlanguage link}} which gives both a redlinked English link and a German blue link, but hides the German link if the English redlink turns blue when the article is created. For instance, by writing {{tlc|interlanguage link|Erich Anders|de}} we get "{{ill|Erich Anders|de}}"; however, if we write {{tlc|interlanguage link|Ludwig van Beethoven|de}} we get "{{ill|Ludwig van Beethoven|de}}", as the page does exist on the English Wikipedia. (Alternatively, the shortcut {{tl|ill}} may be used in place of {{tl|interlanguage link}}.)
  2. If the foreign language article has a different title, use the following parameters: {{tlxi|ill|English article title|language code|Title in foreign language}} – for example, {{tlc|ill|Marivan and Sarvabad constituency|fa|حوزه_انتخابیه_مریوان_و_سروآباد}} gives {{ill|Marivan and Sarvabad constituency|fa|حوزه_انتخابیه_مریوان_و_سروآباد}}.
  3. To show the language code and the link to the other language article: :fr:Jeux olympiques or :ja:東京都 These links look like this: :fr:Jeux olympiques or :ja:東京都. The language abbreviation is displayed, so the reader knows that they are links to foreign language articles.
  4. To show the name of the other language instead of its code, which can be easier to read for less experienced readers, you can use the lang template or one of its class: {{langx|fr|Jeux olympiques}} or {{langx|ja|東京都}} These links look like this: {{langx|fr|Jeux olympiques}} or {{langx|ja|東京都}}.
  5. To show only the title: Jeux olympiques or 東京都 which would look like this in your text: Jeux olympiques or 東京都.
  6. Using the pipe trick to simplify methods 4 and 5: or {{langx|fr|}}. These give the same results: Jeux olympiques or {{langx|fr|Jeux olympiques}}.
  7. To link to a namespace other than the main article namespace, add the namespace after the language abbreviation. For example, the page for general discussions on the Japanese Wikipedia is located in the Wikipedia namespace. You can link to it as follows: :ja:Wikipedia:井戸端 or giving :ja:Wikipedia:井戸端 or Wikipedia:井戸端.
  8. On Talk pages and on Meta, you can omit the leading colon. An interlanguage link like fr:Jeux olympiques will appear inline in the text, like a regular link.
  9. An inline link to a Wiktionary entry, such as , can be directed to another language's Wiktionary: gives fr:modèle.

Links to pages that do not exist

On the English Wikipedia, links to pages that do not exist are displayed in a different color (usually red). But this check is not performed for links to pages on another wiki (including other Wikimedia Foundation sites). Unlike internal links, these links do not indicate whether the target page exists or not.Bug 11 If the target page does not exist, the link leads to a message on the target wiki informing you that the page does not exist and inviting you to create it.

If you find interlanguage links to non-existent pages on the English Wikipedia, they may be deleted as having no content. Alternatively, you can create at least a stub page on the target wiki before adding an interlanguage link to it. Later, interested people can complete the rest of the page.

Note: if the language prefix is wrong, it is considered to be part of the name of a page on the English Wikipedia. This page will probably not exist, so the link will be displayed in red.

The {{tl|interlanguage link}} template can help with this.

See also

Different languages

Sister projects

Miscellanea

Notes

{{reflist}}