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

--- Comment #2 from [email protected] 2012-08-25 15:27:26 UTC ---
There are more in bug 37459, also with a proposed solution, but in general the
user follows a link like http://en.wikipedia.org/wiki/Berlin?uselang=xyzzy or
http://wikidata-test-repo.wikimedia.de/wiki/Data:Q2?uselang=xyzzy and even if
the language is way off it is silently ignored for most part but retained in
wgContentLanguage. If the language fails completely it should also be removed
from wgContentLanguage.

It seems to me that there are at least three levels; language codes that are
formatted right, language codes that exist, and language codes for languages we
support with message files. The existing code only checks for correct
formatting.

In the Wikidata-project it could be necessary to limit the language codes to at
least the ones  used for existing languages.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to