Last modified: 2013-04-22 16:14:15 UTC
Language::isWellFormedLanguageTag() – Checks whether the language tag is well formed. Like isKnownLanguageTag but less tight and more flexible. Would accept non-sense stuff like fi-Cyrl-JA-x-foo that semantically makes no sense but is valid according to the rules. ---- See http://laxstrom.name/blag/2012/08/28/language-validation-in-mediawiki/ for background; see also bug 41476, bug 41477.
Patch in https://gerrit.wikimedia.org/r/#/c/44956/ .
Merged.