Mehrsprachiges Wiki

classic Classic list List threaded Threaded
5 messages Options
Manuel Schneider Manuel Schneider
Reply | Threaded
Open this post in threaded view
|

Mehrsprachiges Wiki

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 [hidden email]
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.

Florian Effenberger Florian Effenberger
Reply | Threaded
Open this post in threaded view
|

multilingual wiki (was: Re: [libreoffice-website] Mehrsprachiges Wiki)

Hi,

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!

Florian


Manuel Schneider wrote on 2010-10-10 20.42:

> 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
>

--
Florian Effenberger <[hidden email]>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880
Fax: +49 8341 99660889
Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
To unsubscribe, e-mail to [hidden email]
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.

Florian Effenberger Florian Effenberger
Reply | Threaded
Open this post in threaded view
|

Re: Mehrsprachiges Wiki

In reply to this post by Manuel Schneider
Hi Manuel,

Manuel Schneider wrote on 2010-10-10 20.42:
> Hallo Flo,
>
> hier die Daten zur Mehrsprachigkeit:

as you've seen, I yet failed to work on the wiki, and looking at my
workload, and the importance of the wiki, I feel I don't want to have
the burden alone. :-)

Manuel, would you be interested in joining our wiki administrators group
and help us building the wiki the way we need it? We don't offer money,
but lots of fame. :-)

Would be great to have you on board!

Florian

--
Florian Effenberger <[hidden email]>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
E-mail to [hidden email] for instructions on how to unsubscribe
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

Dave Johnson Dave Johnson
Reply | Threaded
Open this post in threaded view
|

Re: Mehrsprachiges Wiki

I would love to help.

Dave Johnson

On Nov 2, 2010 5:26 AM, "Florian Effenberger" <[hidden email]>
wrote:

Hi Manuel,

Manuel Schneider wrote on 2010-10-10 20.42:


>
> Hallo Flo,
>
> hier die Daten zur Mehrsprachigkeit:

as you've seen, I yet failed to work on the wiki, and looking at my
workload, and the importance of the wiki, I feel I don't want to have the
burden alone. :-)

Manuel, would you be interested in joining our wiki administrators group and
help us building the wiki the way we need it? We don't offer money, but lots
of fame. :-)

Would be great to have you on board!

Florian

--
Florian Effenberger <[hidden email]>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
E-mail to [hidden email] <website%[hidden email]> for
instructions on how to unsubscribe


List archives are available at http://www.libreoffice.org/lists/website/
All messages you send to t...

--
E-mail to [hidden email] for instructions on how to unsubscribe
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

Florian Effenberger Florian Effenberger
Reply | Threaded
Open this post in threaded view
|

Re: Mehrsprachiges Wiki

Hi Dave,

Dave Johnson wrote on 2010-11-02 14.22:
> I would love to help.

thanks a lot! I will work with Manuel on some details, he's a wiki guru
:), and then I'll post another call for help here on the list, when we
know what tasks are there.

Florian

--
Florian Effenberger <[hidden email]>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
E-mail to [hidden email] for instructions on how to unsubscribe
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