[Mediawiki-i18n] Trying to locate messages in various places - which order?

Brianna Laugher brianna.laugher at gmail.com
Tue Mar 25 14:10:21 UTC 2008


Hi,

AFAIK there is no document on mediawiki.org which says this
definitively yet. what order are the following things consulted in, in
finding a relevant system message?

XX - wiki's default language (not en, for argument's sake)
YY - user's language preference (not en or XX)
ZZ - language code specified in the URL as uselang=ZZ (not en, XX or YY)

A MessagesEn.php
B MessagesXX.php
C MessagesYY.php
D MessagesZZ.php
E MediaWiki:Message
F MediaWiki:Message/XX
G MediaWiki:Message/YY
H MediaWiki:Message/ZZ
??? any others???

(assume also for interest's sake that a particular one may not be
defined, so it has to keep looking)

Is this the order?
H
E
D
B
A

thanks,
Brianna

-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/



More information about the Mediawiki-i18n mailing list