Help:Interwiki linking on Wikimedia wikis: Difference between revisions

Content deleted Content added
Hanzlan (talk | contribs)
mNo edit summary
No edit summary
Line 224:
A project's own namespace prefix cannot 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, for example: [[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, for example: [[MetaWikipedia:wikibooks:Main Page]]. The "superfluous" "MetaWikipedia:" prevents "wikibooks:" being 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#Wikilinks|existence detection]] and the [[mw:Help:Self link|self-link feature]] do not work on interwiki links.
 
=== Prefixes ===