Page MenuHomePhabricator

[Language validation] Implement Language::isKnownLanguageTag()
Closed, ResolvedPublic

Description

Language::isKnownLanguageTag() – Checks that the language tag is known to MediaWiki. This basically means that we know the name of the language in English or in another language. Sources of known language codes are the built-in Names.php, the codes optionally added through the CLDR extension and the list of language names in English.

http://laxstrom.name/blag/2012/08/28/language-validation-in-mediawiki/ for background.


Version: unspecified
Severity: enhancement
URL: http://laxstrom.name/blag/2012/08/28/language-validation-in-mediawiki/

Details

Reference
bz41476

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 12:50 AM
bzimport set Reference to bz41476.
Nemo_bis created this task.Oct 28 2012, 9:24 PM

Gerrit change 45069