Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


this is a note by Manuel from WikiMedia Switzerland, having a good tip for a multilingual wiki. Will follow-up later (at the moment, only a hand full of people can modify the wiki configuration).

Thanks, Manuel!


Manuel Schneider wrote on 2010-10-10 20.42:
Hallo Flo,

hier die Daten zur Mehrsprachigkeit:

== Links / Artikelnamen ==

also zB. Tasks/de, Tasks/fr
Tasks entspricht Task/en

== Berücksichtigung der Spracheinstellung anonymer Nutzer ==

$wgLanguageSelectorDetectLanguage = LANGUAGE_SELECTOR_PREFER_CLIENT_LANG;
$wgLanguageSelectorLocation = LANGUAGE_SELECTOR_MANUAL;

== Berücksichtigung der Spracheinstellung angemeldeter Nutzer ==
require_once( 'extensions/Polyglot/Polyglot.php' );
$wfPolyglotExcemptNamespaces = array(
$wfPolyglotExcemptTalkPages = true;
$wfPolyglotFollowRedirects = true;

== "lang"-Tag für mehrsprachige Ausgabe (bspw. in Templates) ==
require_once( 'extensions/Multilang/Multilang.php' );

== Lokalisierter Seitentitel ==
überschreibt den vom Wiki generierten Titel aus dem Artikelnamen:


== Sprachtoolbar ==
<div class="divlang">
<li class="firstlang">[[{{NAMESPACE}}:{{BASEPAGENAME}}/de|Deutsch]]</li>
<li>[{{SERVER}}/{{NAMESPACE}}:{{BASEPAGENAMEE}}/ English]</li>
<li class="pagetitle">Article Title: {{PAGENAME}}</li>

== Sonstiges ==
$wgNamespacesWithSubpages[NS_MAIN] = true;
$wgAllowDisplayTitle = true;
$wgRestrictDisplayTitle = false;



Florian Effenberger <>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880
Fax: +49 8341 99660889
Mobile: +49 151 14424108
Skype: floeff | Twitter/ @floeff

To unsubscribe, e-mail to
List archives are available at
All messages you send to this list will be publicly archived and cannot be deleted.


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.