Array

Ajuda:Interwiki linking: diferenças entre revisões

Sem resumo de edição
 
(Há uma edição intermédia do mesmo utilizador que não está a ser apresentada)
Linha 1: Linha 1:
==General==
==General==


Linha 5: Linha 4:


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 [[Help:Link#Linking_from_a_page|existence detection]] and the [[Help:Self link|self-link feature]] do not work on interwiki links.
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 [[Help:Link#Linking_from_a_page|existence detection]] and the [[Help:Self link|self-link feature]] do not work on interwiki links.
==Wikicities==
In [[w:en:Wikicities|Wikicities]], the prefix is the internal project name for some older wikis. For others, "Wikicities:c:" is added in front (e.g. <code><nowiki>[[Wikicities:c:chicago]]</nowiki></code>).
From outside, e.g. from Wikimedia projects, "wikicities:c:" is added in front, for example [[wikicities:c:Trains:Catégorie:Chronologie]].
==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]]
*[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}}

Edição atual desde as 16h32min de 30 de setembro de 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.