Difference between revisions of "Help:Interwiki"

From EncyclopAtys

Jump to: navigation, search
(Introduction)
(Linking to Other Wikis)
Line 54: Line 54:
 
==Linking to Other Wikis==
 
==Linking to Other Wikis==
  
 +
Linking  to other wikis follows the same rule, just use the [[Special:Interwiki]] prefixes instead of language ones.
 +
<br />
 +
Examples
 +
{| class="wikitable"
 +
|-
 +
! internal format !! Links tot
 +
|-
 +
| [[:wikipedia:NPC|<nowiki>[[:wikipedia:NPC]]</nowiki>]] || Example
 +
|-
 +
|  [[:wikipedia:NPC|<nowiki>[[:wikipedia:NPC]]</nowiki>]] || Example
 +
|-
 +
| [[:mediawikiwiki:Help:Contents|<nowiki>[[:mediawikiwiki:Help:Contents]]</nowiki>]] || Example
 +
|}
  
 
==Mediawiki Interwiki Documentation==
 
==Mediawiki Interwiki Documentation==

Revision as of 10:03, 13 June 2020


Important.png
Under Construction Panel.png !!!! WIP !!!! Under Construction Panel.png
There are currently still 74 articles in preparation in the category "WIP"
Article in preparation. Please let the author finish it before you modify it.
The last editing was from Dorothée on 13.06.2020.

Introduction

Interwiki is a MediaWiki extension that allows to use intenal links format (i.e. [[something]]) instead of external ones, to link to other languages pages and some external wikis such as Wikipedia, MediaWiki...

It uses a prefix table to redirect addresses, wich is stored in the page : Special:Interwiki.

Interlanguages Links

Link to a page in another language

Syntax:
[[:<language_code>:<Full_page_name>]]

Here available languages codes are de( 🇩🇪) , en(🇬🇧, 🇺🇸), es(🇪🇸), fr (🇫🇷, 🇧🇪, 🇨🇦, 🇨🇭) and ru (🇷🇺)

Example :
[[:fr:Guilde:Cercle du Bois d'Almati]]
  • The leading ":" is important (see below).
  • Note that Interwiki/interlanguages links have a different color than the other internal links.

The Trad Template

de:Help:Interwiki en:Help:Interwiki es:Help:Interwiki fr:Help:Interwiki ru:Help:Interwiki
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Dorothée, 2020-06-13)

The Trad Template displays a small languages banner as on the right of this line, which flags, when displayed, are linking to other languages pages. It can also provide a translation status information. See the Trad Template page for full documentation.

Call:
{{Trad
|DE = Page |DEs= (translation status code)
|EN = Page |ENs= 
|ES = Page |ESs= 
|FR = Page |FRs= 
|RU = Page |RUs= 
|H  = (1 for horizontal)
|palette= Theme
|ref= Page_link
|com= Comment
}}

The "In Other Languages" Menu

Interwiki allows to insert an "In Other Languages" Menu in the "Navigation Bar" which provides links to translated pages exactly as the Trad template does. To do so, just insert blind links to the translated pages with the following syntax (no leading ":" ):

[[language_code:Full_Page_Name]] (i.e. with the namespace)

For example, this page's "In Other Languages" Menu is obtained with :

[[de:Help:Interwiki]]
[[en:Help:Interwiki]]
[[es:Help:Interwiki]]
[[fr:Help:Interwiki]]
[[ru:Help:Interwiki]]

Note that the Help: namespace does not need to be translated.

Linking to Other Wikis

Linking to other wikis follows the same rule, just use the Special:Interwiki prefixes instead of language ones.
Examples

internal format Links tot
[[:wikipedia:NPC]] Example
[[:wikipedia:NPC]] Example
[[:mediawikiwiki:Help:Contents]] Example

Mediawiki Interwiki Documentation

Inter-Languages and Inter-Wiki Ttansclusion