Manual:$wgExtraInterlanguageLinkPrefixes/hu

Részletek
Alapértelmezésben a csak azon wikiközi hivatkozásokat kezeli nyelvi linkként (például az odalsáv „Más nyelven” szekciójába helyezve), ha az előtag megegyezik a MediaWiki által ismert ISO-lista egyik elemével. Időről időre ezek kiegészítése szükségessé válhat (például többnyelvű projekt hozzáadásához).

A beállítás nem él, ha a értéke nem „true”.

A megjelenítendő szöveg definiálásához hozd létre a „MediaWiki:Interlanguage-link-xx” oldalt, ahol az „xx” az előtag. To provide a friendly site name for the link title text, use "MediaWiki:Interlanguage-link-sitename-foo".

Information about extra language links (in the site language only) is provided via the API in "meta=siteinfo&prop=interwikimap".

Example
Assume that there are three wikis, one holding the documentation, one containing demonstrations and one is serving as a sandbox.

In a first step you add the interwiki prefix for the demonstration and the sandbox wiki to the documentation wiki using e.g. the extension: "demo" for < http://demo.software.wiki/page/$1 > and "sand" for < http://sandbox.software.wiki/page/$1 >.

Now you can set:

This allows you to add  and   to a wiki page. The wiki will now render "demo:Demo for xyz-setting" as well as "sand:Sandbox for xyz setting" in the sidebar and link to < http://demo.software.wiki/page/Demo_for_xyz-setting > and < http://sandbox.software.wiki/page/Sandbox_for_xyz_setting > respectively.

To add a link label for "demo:Demo for xyz-setting" as well as "sand:Sandbox for xyz setting" you can now edit the system message "MediaWiki:Interlanguage-link-demo" and add "Demonstration" as well as "MediaWiki:Interlanguage-link-sand" and add "Sandbox" on the documentation wiki. As a result the links will render as "Demonstration" and "Sandbox" respectively.

To enhance the popup label when you hover over the "Demonstration" link as well as the "Sandbox" link you can now on the documentation wiki edit the system message "MediaWiki:Interlanguage-link-sitename-demo" and add "Demonstration wiki" as well as "MediaWiki:Interlanguage-link-sitename-sand" and add "Sandbox wiki". As a result the popups will render as "Demo for xyz-setting - Demonstration wiki" and "Sandbox for xyz setting - Sandbox wiki" respectively instead of just "Demo for xyz-setting" and "Sandbox for xyz setting".

Since you are not linking to different language versions of your wiki you can now edit system message "MediaWiki:Otherlanguages" and change it from "In other languages" to e.g. "Related wiki pages".