Help:Interwiki linking: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Visual edit Mobile edit Mobile web edit
m Reverted edits by 174.231.130.139 (talk) (HG) (3.4.13)
 
(50 intermediate revisions by 35 users not shown)
Line 1:
{{short description|Wikimedia help page}}
{{for-multi|linking to an article on a different-language Wikipedia within an article|Help:Interlanguage links|a list of Wikipedias in other languages with their language codes|WP:List of Wikipedias|a list of Wikimedia projects|Wikimedia Foundation#Projects and initiatives|and|m:Complete list of Wikimedia projects|and|Special:SiteMatrix|style recommendations|MOS:INTERWIKI}}
{{Wikipedia how-to|WP:INTERWIKI|WP:INTER|WP:IW|H:IW}}
{{Linking and page manipulation|linking and diffs}}
'''Interwiki linking''' canare belinks ato pages across different [[Wikimedia projects]] or language editions, and may linkpoint to ''another project'', to ''another language'', andor both (e.g., toa ''anotherdifferent project in anothera different language'').
 
* '''Interproject links:''' By adding a prefix to another [[Wikimedia Foundation#Wikimedia projects|Wikimedia project]], internal link style ("prefixed internal link style") can be used to [[Help:Link|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. {{pb
'''Interwiki linking''' can be a link to ''another project'', to ''another language'' and both, to ''another project in another language''.
}} For example, to link from here to the "surfeit" article on Wiktionary, you have to utilise an interwiki link. <code><nowiki>[[wikt:surfeit]]</nowiki></code> appears as [[wikt:surfeit]], and the interwiki link <code><nowiki>[[wikt:surfeit|surfeit]]</nowiki></code> appears as [[wikt:surfeit|surfeit]].
* '''[[Help:Interlanguage links|Interlanguage links]]:''' These are interwiki links linking different language editions of the same project. Wikimedia Projects with different language editions are: <ul style="columns: 2 15em;"><!--
--><li>Wikipedia</li><!--
--><li>Wiktionary</li><!--
--><li>Wikisource</li><!--
--><li>Wikiquote</li><!--
--><li>Wikibooks</li><!--
:* --><li>Wikiversity</li><!--
--><li>Wikivoyage</li><!--
--><li>Wikinews</li><!--
:--></ul> There are two types of interlanguage links: those displayed in the page's ''languages dropdown menu'' and those displayed ''inline''. Here an example for both types if placed in the English Wikipedia article [[Apple]]:
:*# <code><nowiki>[[fr:Pomme]]</nowiki></code>: This produces a link to the French Wikipedia article [[:fr:Pomme|Pomme]] in the "Languages" menu of the page. {{A note}} Since 2013 this type of interlanguage link is usually centralized through [[Wikipedia:Wikidata|Wikidata]], which you can edit either by opening the Wikidata item, or selecting "Add languageThis produces an inline interlanguage link fr:Pomme in the English Wikipedia articlelanguage".
*# <code><nowiki>[[:fr:Pomme]]</nowiki></code>: This produces an inline interlanguage link [[:fr:Pomme]] in the English Wikipedia article.
 
This is called interwiki. For each project, an [[m:Interwiki map|interwiki map]] (a list of target projects with their prefixes) is specified ([[Special:Interwiki]]). These target projects do not require MediaWiki and do not even have to be a wiki.
* '''Interproject links:''' By adding a prefix to another Wikimedia 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, to link from here to the "surfeit" article on Wiktionary, you have to include the interwiki link which would appear as or the which would appear as .
* ''':''' These are interwiki links linking different language editions of the same project. Wikimedia Projects with different language editions are:
<div style="column-count:2">
:* Wikipedia
:* Wiktionary
:* Wikisource
:* Wikiquote
:* Wikibooks
:* Wikiversity
:* Wikivoyage
:* Wikinews
</div>
:There are two types of interlanguage links: those displayed in the page's ''languages dropdown menu'' and those displayed ''inline''. Here an example for both types if placed in the English Wikipedia article Apple:
:# : This produces a link to the French Wikipedia article Pomme in the "Languages" menu of the page. Since 2013 this type of interlanguage link is usually centralized through which you can edit either by opening the Wikidata item, or selecting "Add languageThis produces an inline interlanguage link fr:Pomme in the English Wikipedia article.
 
This is called interwiki. For each project, an a list of target projects with their prefixes is specified These target projects do not require MediaWiki and do not even have to be a wiki.
 
== Interwiki linking from and within Wikimedia ==
Line 47 ⟶ 48:
|-
|Wikipedia in another language ([[Help:Interlanguage links|help]])
|<code>[[''[[List of Wikipedias|''language code]]'']]:wikipedia:]]</code>
|<code>[[''[[List of Wikipedias|''language code]]'']]:]]</code>, <code>[[w:''[[List of Wikipedias|''language code]]'']]:]]</code>
|
|-
Line 135 ⟶ 136:
|<code>[[[[c:]]]]</code>
|{{tlx|Commons|Pagename}}
|-
|[[Wikifunctions]]
|<code>[[[[wikifunctions:]]]]</code>
|<code>[[[[f:]]]]</code>
|{{tlx|Wikifunctions|Pagename}}
|-
|[[MediaWiki]]
Line 185 ⟶ 191:
|
|
|}<section begin="iwl-tables" />Other current Wikimedia prefixes: [[betawikiversity:]], [[dbdump:]], [[download:]], [[gerrit:]], [[mail:]], [[mailarchive:]], [[otrs:]], [[OTRSwiki:]], [[outreach:]], [[quality:]], [[rev:]], [[spcom:]], [[sulutil:]], [[svn:]], [[ticket:]], [[tools:]], [[tswiki:]], [[wm2016:]], [[wm2017:]], [[wmania:]], [[wikiconference:]].<section end="iwl-tables" /> See a complete list of current and old but still working prefixes for all Wikimedia wikis at the [[Special:SiteMatrix]]. See a complete list of all possible interwiki prefixes at [[Special:Interwiki]].
 
Some of the '''long forms''' do not work as expected within the same project; for example <kbd><nowiki>[[meta:]]</nowiki></kbd> does not work on Meta, while <kbd><nowiki>[[metawikipedia:]]</nowiki></kbd> does. This depends on the configuration of the wiki and where the names are stored (see also next paragraph). The '''shortcuts''' work everywhere. The [[m:Interwiki map|interwiki map]] on Meta lists many prefixes, among others, <kbd><nowiki>[[wikipedia:]]</nowiki></kbd> 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. [[wikipediawikipedia:Interwiki link]] (works). These prefixes are case insensitive.<section begin="iwl-text" /><!-- This template needs fixing:
Line 398 ⟶ 404:
<nowiki>[[:ja:ja:2006]]</nowiki> [[:ja:ja:2006]]
 
A universal interwiki link, that is, one that works no matter from which Wikimedia wiki, can be written <nowiki>[[m:</nowiki>''project'':''language'':''page name'']] (e.g. [[m:b:nl:Wiskunde]]); this routes the parsing of the links via Meta ([[bugzilla:4285|bug 4285]]). [[m:mos:Soraogo]] links the mos Wikipedia. MOS is a namespace at the English Wikipedia so <code><nowiki>[[mos:Soraogo]]</nowiki></code> would be a local link.
 
== Interlanguage links ==
Line 423 ⟶ 429:
[[zh:浮游生物界]]</nowiki></pre>
 
These links do not show up in the article, but instead populate the "Languages" list on the sidebar. While they can be theoretically located anywhere in the article, they were typically placed nearat the bottom.
 
== Interlanguage interwiki links ==
Line 483 ⟶ 489:
** [[metawiki:Interwiki map|m:Interwiki map]], list of WMF and non-WMF mappings
* [[c:Commons:First steps/Reuse|commons:Commons:First steps/Reuse]], instructions on linking a file from Commons to Wikipedia
* [[Wikipedia:Help desk]] — to—To ask questions about using interwiki links in articles if you weren't able to find the information you need on this help page.
 
{{Wikipedia technical help|collapsed}}<noinclude>
Line 500 ⟶ 506:
[[hsb:Pomoc:Mjezyrěčne wotkazy]]
[[ia:Wikipedia:Ligamines interlingual]]
[[ja:Help:言語間リンク#ウィキ間リンク]]
[[nl:Help:Gebruik van interwiki-links]]
[[oc:Ajuda:Ligam interlenga]]
Line 508 ⟶ 514:
[[uk:Довідка:Інтервікі]]
[[vi:Trợ giúp:Liên kết giữa ngôn ngữ]]
[[zh:Help:跨语言链接#出現在正文中的連結]]
</noinclude>