Help:Interwiki linking: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
m Reverted edits by 174.231.130.139 (talk) (HG) (3.4.13)
 
(33 intermediate revisions by 23 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''' are links to pages across different [[Wikimedia projects]] or language editions, and may point to another project, another language, or both (e.g., a different project in a 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
}} 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 language".
*# <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.
 
== Interwiki linking from and within Wikimedia ==
=== Prefix codes for linking to Wikimedia sister projects<span class="anchor" id="Project codes"></span> ===
Line 25 ⟶ 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 483 ⟶ 506:
[[hsb:Pomoc:Mjezyrěčne wotkazy]]
[[ia:Wikipedia:Ligamines interlingual]]
[[ja:Help:言語間リンク#ウィキ間リンク]]
[[nl:Help:Gebruik van interwiki-links]]
[[oc:Ajuda:Ligam interlenga]]
Line 491 ⟶ 514:
[[uk:Довідка:Інтервікі]]
[[vi:Trợ giúp:Liên kết giữa ngôn ngữ]]
[[zh:Help:跨语言链接#出現在正文中的連結]]
</noinclude>