Last modified: 2013-04-22 16:14:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43478, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41478 - [Language validation] Implement Language::isWellFormedLanguageTag()
[Language validation] Implement Language::isWellFormedLanguageTag()
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Amir E. Aharoni
http://laxstrom.name/blag/2012/08/28/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-28 21:27 UTC by Nemo
Modified: 2013-04-22 16:14 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2012-10-28 21:27:44 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.
Comment 1 Amir E. Aharoni 2013-01-21 17:35:45 UTC
Patch in https://gerrit.wikimedia.org/r/#/c/44956/ .
Comment 2 Amir E. Aharoni 2013-01-25 11:09:21 UTC
Merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links