Help:Interwiki linking: Difference between revisions

Content deleted Content added
m Fixed Lint errors on this page (misnested tags)
No edit summary
Tags: Reverted Visual edit Mobile edit Mobile web edit
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''' can be a link to ''another project'', to ''another language'' and both, to ''another project in another 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 include the interwiki link which would appear as wikt:surfeit or the interwiki link which would appear as 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;"><!--
}} For example, to link from here to the "surfeit" article on Wiktionary, you have to include the interwiki link <code><nowiki>[[wikt:surfeit]]</nowiki></code> which would appear as [[wikt:surfeit]] or the interwiki link <code><nowiki>[[wikt:surfeit|surfeit]]</nowiki></code> which would appear 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><!--
Line 16 ⟶ 11:
--><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 ==