Difference between revisions of "Help:Interwiki linking"

(General)
(See also)
Line 13: Line 13:
 
==See also==
 
==See also==
  
*[[m:Help:Guide for system administrators for setting up interwiki linking]]
+
 
*[[w:en:Wikipedia:Interwikimedia link]]
 
*[[m:Interwiki link problem]]
 
 
*[[m:Interwiki map]]
 
*[[m:Interwiki map]]
*[http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/maintenance/interwiki.sql interwiki.sql]
 
*[[m:Help:Special_characters#Esperanto|Interwiki links to the same page are different from the Esperanto Wikipedia]]
 
*[[wikisource:Wikisource talk:Language domain requests]] - Discussion of upcoming transition to language subdomains.
 
 
{{h:f|langs=|enname=Interwiki linking}}
 

Revision as of 09:31, 30 September 2005

General

By adding a prefix to another project, internal link style ("prefixed internal link style") can be used to link to a page of another project. A project's own namespace prefix can not be reused as code for an external project. However, the prefix used for a target project may coincide with the prefix for a project namespace within that project. As a result, to link to a page in that namespace, use the same prefix twice, e.g. [[en:Wikisource:Wikisource:Scriptorium]].

For portability across projects, one may want to select a link code that leads to the same target from all projects, e.g. MetaWikipedia:wikibooks:Main Page. The "superfluous" "MetaWikipedia:" prevents "wikibooks:" to be interpreted as namespace prefix when the code is used at wikibooks itself, while at Meta the "MetaWikipedia:" is ignored (it is not a namespace prefix, and even at Meta itself it is recognized as code for Meta). The codes above work from all projects. However, the existence detection and the self-link feature do not work on interwiki links.

Wikicities

In Wikicities, the prefix is the internal project name for some older wikis. For others, "Wikicities:c:" is added in front (e.g. [[Wikicities:c:chicago]]).

From outside, e.g. from Wikimedia projects, "wikicities:c:" is added in front, for example wikicities:c:Trains:Catégorie:Chronologie.

See also