https://bugzilla.wikimedia.org/show_bug.cgi?id=33296

Wolfram Langer <wolfram.lan...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wolfram.lan...@gmx.net

--- Comment #3 from Wolfram Langer <wolfram.lan...@gmx.net> 2011-12-22 09:58:23 
UTC ---
As the one who reported the issue to Raimond Spekking, I am following up here
on Bugzilla.

> I got the error report by e-mail and I have asked the reporter now where he
> found "de_formal".
As stated under http://www.mediawiki.org/wiki/Manual:$wgLanguageCode, the
language code should refer to the Message(.*).php file.

"Site language code. Should be one of the ./languages/messages/Messages(.*).php
files."

Since the file name is MessageDe_formal.php, I thought to use "De_formal" -
which worked until MediaWiki 1.17.0.

There seems to be a confusion in the community about what "$wgLanguageCode"
should contain: during configuration of several MediaWiki sites, I found
searched the internet and found different recommendations, including
"De_formal". The latter sounded to me the most logical one since it resembles
exactly the part of the Message(.*).php file name.

I guess that this confusion is strengthened further by the following quote,
although, however, it clearly refers to the old MediaWiki 1.6.8:

http://www.mediawiki.org/wiki/Manual:$wgLanguageCode
"In 1.6.8: the string is case sensitive. The installer installs though small
(for example "de"). This results into only a partial use of the language file.
This is fixed if you use "De", which then uses the LanguageDe.php correctly."

For me, the issue seems not being a bug but rather a configuration issue which
could benefit from an improved documentation.

I recommend to add a clear statement to 
http://www.mediawiki.org/wiki/Manual:$wgLanguageCode
like the following:

"Site language code. In recent versions of MediaWiki, the language code is
always lower-case and can optionally contain a hyphen.
Valid examples are:
* en
* en-gb
* de
* de-formal
The language code instructs MediaWiki to referring to one of the
./languages/messages/Messages(.*).php files. Hence, the language code can be
inferred from the respective Messages(.*).php file name."

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to