Manual:Interwiki/fi

Interwiki linkit ovat linkkejä toisten hankkeiden sivuille jotka ovat muodoltaan kuin etuliitteellisiä sisäisiä linkkejä.

Interwiki linkit mahdollistavat sen että linkität esimerkiksi Wikipedian, Wikibooksin, Wikinewsin jne. tai sinun omien wikihankkeittesi sivuille eri kielillä. (lue Manual:Wiki family).

Linkki joka on muotoa  näyttää tältä Main Page ja ohjaa sinut Wikipedian Etusivulle.

Jotta pohjustat interwiki linkityksen, sinun saattaa olla tarvis muokata Tietokantaa.

Vakio
Useat Wikimedian hankkeista (ja tietyt muutkin) ovat valmiita interwikilinkitystä varten vakiona, joten voit käyttää niitä ilman että muokkaat tietokantaasi. Mutta, jostakin syystä, kaikkien Wikimedia-hankkeiden aiti, Wikipedia itse, ei kuulu joukkoon.

Sivuhuomautus: Joissain asennuksissa mitkään näistä ei ole valmiiksi esi-asennettuna. Kokeile  tässä tapauksessa.

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

You have to edit your own database. Go to table  and add a new line (usually done with phpMyAdmin):
 *  : choose a prefix, which is used for interwiki linking, e.g. "Wikipedia" or "wp" for linking to Wikipedia
 *  : enter the project's URL, e.g.  for Wikipedia. Don't forget the   as it is replaced with the article's name you are linking to (  links to  ).
 *  : if 1, your wiki will redirect even external links of the form iw_prefix:title, not only those from its own pages. you need this if you want to use the redirect functionality from outside your wiki or other wikis use your transwiki functions for nested transwiki links (like http://en.wikipedia.org/wiki/fr:Accueil)
 *  : "transwiki transclusion" - set to 1 if you want to use pages from the other wiki as templates. You will also need to set $wgEnableScaryTranscluding = true in your LocalSettings.php

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 " " as it contains a list of known languages and their prefixes. E.g. you want to add your German project, search " " for "Deutsch" and note the prefix "de".

If you know the "right" prefix, edit your database by adding a new line to table :
 *  : language-prefix (e.g. "de" for German), which is listed in " "
 *  : URL to your wiki-project (e.g. )
 *  : same as above "Adding More"
 *  : same as above "Adding More"

Now, you can link an article to the same in other languages. Adding  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:.