[Mageia-sysadm] mediawiki

Romain d'Alverny rdalverny at gmail.com
Fri Feb 25 15:03:08 CET 2011


On Thu, Feb 17, 2011 at 16:32, Buchan Milne <bgmilne at staff.telkomsa.net> wrote:
> On Thursday, 17 February 2011 12:40:51 Buchan Milne wrote:
>
>> The rest of the settings for LDAPAuthentication.php should be as follows.
>> Note that the option to pull preferences from LDAP includes the
>> perferredLanguage attribute (which we currently set on registration, but
>> the user is able to change it - we may want to try and constrain the
>> values that can be put there in future).
>
> How is language selection done, purely by visiting wiki.mageia.org/$lang, or
> is there also automatic detection, or based on user's prefs?

(sorry I'm late)

In order:
 a. based on specified URL: http://wiki.mageia.org/en/Whatever will
show the English document, no matter the user-agent/session
preferences are;
 b. if a user is going automatically to http://wiki.mageia.org/ (which
holds no wiki at this very address), we'll make a redirection based on
user-agent preferences (I can provide this, it's about a few lines of
code);
 c. if we ever get to have a mageia.org global user session, we may
amend b. in the future by using the user preferences, but that's not
near.

Romain


More information about the Mageia-sysadm mailing list