Hallo Flo,
hier die Daten zur Mehrsprachigkeit:
== Links / Artikelnamen ==
Artikelname/Sprachkürzel
also zB. Tasks/de, Tasks/fr
Tasks entspricht Task/en
== Berücksichtigung der Spracheinstellung anonymer Nutzer ==
require_once('extensions/LanguageSelector/LanguageSelector.php');
$wgLanguageSelectorDetectLanguage = LANGUAGE_SELECTOR_PREFER_CLIENT_LANG;
$wgLanguageSelectorLocation = LANGUAGE_SELECTOR_MANUAL;
== Berücksichtigung der Spracheinstellung angemeldeter Nutzer ==
require_once( 'extensions/Polyglot/Polyglot.php' );
$wfPolyglotExcemptNamespaces = array(
NS_CATEGORY,
NS_TEMPLATE,
NS_IMAGE,
NS_MEDIA,
NS_SPECIAL,
NS_MEDIAWIKI
);
$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:
{{DISPLAYTITLE:Hauptseite}}
== Sprachtoolbar ==
<div class="divlang">
<ul>
<li class="firstlang">[[{{NAMESPACE}}:{{BASEPAGENAME}}/de|Deutsch]]</li>
<li>[{{SERVER}}/{{NAMESPACE}}:{{BASEPAGENAMEE}}/ English]</li>
<li>[[{{NAMESPACE}}:{{BASEPAGENAME}}/fr|Français]]</li>
<li>[[{{NAMESPACE}}:{{BASEPAGENAME}}/it|Italiano]]</li>
<li>[[{{NAMESPACE}}:{{BASEPAGENAME}}/rm|Rumantsch]]</li>
<li class="pagetitle">Article Title: {{PAGENAME}}</li>
</ul>
</div>
== Sonstiges ==
$wgNamespacesWithSubpages[NS_MAIN] = true;
$wgAllowDisplayTitle = true;
$wgRestrictDisplayTitle = false;
http://www.wikimedia.ch/index.php?title=Main_Page/de&action=edit
Grüsse,
Manuel
--
Regards
Manuel Schneider
Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch
--
To unsubscribe, e-mail to website+help@libreoffice.org
List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to this list will be publicly archived and cannot be deleted.
Context
- [libreoffice-website] Mehrsprachiges Wiki · Manuel Schneider
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.