Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

38.107.191.89 (Talk)
Log in | Help
 

Help:Interwiki linking

From My wiki test

Template:PD Help Page Template:Move Interwiki links are links to pages of other projects, using a prefixed internal link style.

Interwiki links make it possible, to link to pages of (e.g.) Wikipedia, Wikibooks, Wikinews etc. or to your wiki-project in different languages (see Manual:Wiki family).

A link like [[Wikipedia:Main Page]] will appear like this: Wikipedia:Main Page and redirect you to Wikipedia's Main Page.

Contents

[edit] Interwiki links to other projects

[edit] Default

Several Wikimedia-Projects (and others) are ready for interwiki linking by default, so you can use them without editing your database. Note that wikipedia was only added as one of the interwiki defaults since v1.10

The following are some examples of interwiki prefixes which are available by default:

Template:Hl3 align="center"|prefix Template:Hl3 align="center"|destination URL Template:Hl3 align="center"|usage example
commons http://commons.wikimedia.org/wiki/ [[commons:MediaWiki]]
mediazilla http://bugzilla.wikimedia.org/ [[mediazilla:1209]]
meta http://meta.wikimedia.org/wiki/ [[meta:Main Page]]
mw http://www.mediawiki.org/wiki/ [[mw:Help:Contents]]
wikibooks http://en.wikibooks.org/wiki/ [[wikibooks:Main Page]]
wikimedia http://wikimediafoundation.org/wiki/ [[wikimedia:Main Page]]
wikinews http://en.wikinews.org/wiki/ [[wikinews:Main Page]]
wikiquote http://en.wikiquote.org/wiki/ [[wikiquote:Main Page]]
wikisource http://en.wikisource.org/wiki/ [[wikisource:Main Page]]
wikispecies http://species.wikimedia.org/wiki/ [[wikispecies:Main Page]]
wiktionary http://en.wiktionary.org/wiki/ [[wiktionary:Main Page]]
wikipedia http://en.wikipedia.org/wiki/ [[wikipedia:Main Page]]

Template:Note

[edit] Adding a new website for interwiki linking

For setting up interwiki links, you might need to edit the database. Alternatively you might prefer to install an Interwiki extension.

Template:Note

As the Wikipedia isn't set up by default in version 1.9 and before, you might want to add it (and other projects of your need).

The fields of the interwiki database table are as follows:

Template:Admin tip

[edit] Interwiki links to other languages

Image:M-en-interwiki lang.png
Interwiki links to other languages

If you have installed a Wiki family, you can link from an article in English to an article in German (if you have a German project, too). You can set up MediaWiki, to show those links in the sidebar, just below the toolbox.

In your filesystem, there is a subfolder of your MediaWiki installation, called "languages". Go there and have a look at "Names.php" as it contains a list of known languages and their prefixes. E.g. you want to add your German project, search "Names.php" for "Deutsch" and note the prefix "de".

If you know the "right" prefix, edit your database by adding a new line to table interwiki:


Now, you can link an article to the same in other languages. Adding [[de:Hauptseite]] on your english Main_Page will create a link "Deutsch" below the toolbox, which leads to the Main_Page of the German wiki (Hauptseite).

Note, that this link is shown in Sidebar's section, only, and not inside of the article. If you want to create a link inside of the text, you have to add a colon previous to the prefix: [[:de:Hauptseite]].

[edit] See also

[edit] External links

Template:Meta

Template:Languages

Retrieved from "http://ktsss.informe.com/wiki/view/Help:Interwiki_linking"

This page has been accessed 83 times. This page was last modified 06:52, 14 May 2008.


[Main Page]
Main Page
Current events
Recent changes
Random page
Help

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports