https://bugzilla.wikimedia.org/show_bug.cgi?id=37459
--- Comment #5 from jeb...@gmail.com 2012-08-24 16:36:05 UTC --- This should be fixed in the ULS. We could possibly add (or ask if it is added) a test for languages that either is lacking message files (Language::isValidBuiltInCode), or a more general test of defined codes (Language::isValidAndDefined). Now the ULS seems to use RequestContext::sanitizeLangCode which calls Language::isValidCode, which only checks if the code is well-formed. We probably need something that checks if the language in fact exist. This is at line 93 in UniversalLanguageSelector.php and at line 217 in RequestContext.php. The easiest seems to me to add a config to make the ULS use Language::isValidBuiltInCode instead of Language::isValidCode by adding additional sinitizing in UniversalLanguageSelector::getLanguage and skipping the call to RequestContext::sanitizeLangCode. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- 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