Help:Interwiki linking - Wikiquote
Jump to content
From Wikiquote
This is a copy of the master help page at
m:Help:Interwiki linking
Do not edit this page. Edits will be lost in the next update from the master page.
Either edit the master help page for all projects at Meta, or edit the project-specific text at
Template:Ph:Interwiki linking
. You are welcome to copy the exact wikitext from the master page at Meta and paste it into this page at any time.
Edit editor toc
view this alone
Editing overview
Starting a new page
Page name
Referencing
Links
Piped links
Interwiki linking
Variables
URLs
Anchors
Formatting
Formulas
Lists
Tables
HTML in wikitext
Image & File uploads
Image page
Organizing
Sections
Templates
Categories
Redirects
Namespaces
Renaming (moving) a page
Fixing mistakes and vandalism
Reverting edits
Testing
Saving effort
Editing shortcuts
Editing toolbar
Magic words
Communicating
Edit summary
Talk page
Edit conflict
Minor edit
Special characters
Turkish characters
Romanian characters
Extensions
WikiHiero syntax
warning:
lots of images! (for
Egyptian hieroglyphs
EasyTimeline syntax
Frequently Asked Questions
General
edit
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. For example,
[[wikipedia:interwiki]]
links to the
wikipedia:interwiki
article on the English Wikipedia. This is called
interwiki
. For each project, an
interwiki map
(a list of target projects with their prefixes) is specified (
example
). These target projects need not use MediaWiki and need not even be a wiki.
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.
Interlanguage link (software feature)
edit
For a multilingual family of similar projects, with one project per language, a system for
interlanguage linking
can be set up. If this project is in a family for which this applies,
Help:Interlanguage link demo
may demonstrate what is explained below (this depends on whether the same language codes are used).
An interwiki link within the family is treated differently (unless it is on a talk page of any namespace): it appears at one or two edges of the webpage (left in Monobook, and top and bottom in Classic). To make it inline, prefix a colon (e.g. [[:en:wiki|wiki]]).
The link label depends only on the sister project that is linked to, not on the linked page. The label is set in the configuration of the project. Typically, it is the name of the language written in that language. The target is only shown in the status bar, depending on the browser (oddly, there is not even a hover box).
Thus, interlanguage link is mainly suitable for linking to the
corresponding
page in another language. It is not suitable for multiple links of the same other language. See
m:Interlanguage use case
for a discussion of common troubles with this system and other possible implementations.
The feature can also be used on an image description page to link to the same or a similar image in a sister project. Other interwiki links to images require the prefixed colon.
Note that, if a page may be used as a
template
(even if it is not in the template namespace), it should not have an interlanguage link; such a link appears in the edge of the page that includes the template, giving the impression that the link is to a version of the referring page in the other language. For the same reason, pages in the
MediaWiki namespace
are not suitable to put an interlanguage link in.
The mutual order of interlanguage links is preserved, but otherwise the positions within the wikitext are immaterial. Usually they are put at the end. With section editing they appear in the preview if they are in the section being edited.
A link to the project itself (hence also a link to the page itself), even if referred to with the project prefix, appears in-page.
Suppose that we have pages
de:Zug
en:Train
fr:Train
then we need:
on de:
en:Train
fr:Train
on en:
de:Zug
fr:Train
on fr:
de:Zug
en:Train
Thus there is not the possibility of simply copying each list, let alone of using a template, as can be done if different languages share one project, with or without separate namespaces, see e.g.:
m:Template:H-langs:Interwiki linking
used at the bottom of
the master copy of this page on Meta
wikisource:Template:InterLingvLigoj
m:Template:About
Project families with interlanguage links:
several Wikimedia project families, see below
a family of six Wikicities projects, see
wikicities:c:WikiMac:WikiMac:Interlanguage links
Template:H:1
Wikicities
edit
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
edit
m:Help:Guide for system administrators for setting up interwiki linking
m:Sister projects
w:en:Wikipedia:Interwikimedia link
m:Interwiki link problem
m:Interwiki map
interwiki.sql
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.
Wikiquote-specific content
edit
Edit this Wikiquote- and subject-specific template
Links to other help pages
edit
Help contents
- all pages in the Help namespace:
Meta
b:
c:
n:
w:
q:
wikisource
wiktionary
Reading:
Overview
Go
URL
Namespace
Page name
Section
Link
Backlinks
Piped link
Interwiki link
Redirect
Variable
Category
Tracking changes:
Recent
(enhanced)
Related
Watching pages
Page history
Diff
User contributions
Edit summary
Minor edit
Logging in and preferences:
Logging in
Preferences
User style
Editing:
Overview
New page
Images/files
Image description page
Special characters
Formula
Table
EasyTimeline
Template intro
Renaming (moving) a page
Automatic conversion of wikitext
Talk page
Testing
rlc
Projects:
Meta (master page)
Wikibooks
Wikicommons
Wikinews
Wikipedia
Wikiquote
Wikisource
Wiktionary
For other languages see Meta.
External Links
edit
commons
Wikimedia Commons
has media related to:
Special pages
Special page
on the
Wikipedia
Retrieved from "
Category
Wikiquote help
Help
Interwiki linking
Add topic