Last modified: 2013-10-31 08:44:35 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 T57666, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55666 - Lang tag parsing is case-sensitive (should be case-insensitive)
Lang tag parsing is case-sensitive (should be case-insensitive)
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Santhosh Thottingal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-13 01:11 UTC by rtertjwkjrwlk23442
Modified: 2013-10-31 08:44 UTC (History)
8 users (show)

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


Attachments

Description rtertjwkjrwlk23442 2013-10-13 01:11:17 UTC
Per BCP 47,[1] "at all times, language tags and their subtags, including private use and extensions, are to be treated as case insensitive", but the ULS performs case-sensitive lang tag matching. This is apparent with jv-java; the ULS won't find a match for canonical jv-Java.

[1] https://tools.ietf.org/html/bcp47#section-2.1.1
Comment 1 Santhosh Thottingal 2013-10-17 11:30:09 UTC
Patch for webfonts feature: https://github.com/wikimedia/jquery.webfonts/commit/4d9e870881626654102bd7191bf4755c138eca35
Comment 2 Santhosh Thottingal 2013-10-31 08:44:35 UTC
The fix has been deployed. The lang tag parsing is case insensitive now. Reopen if you still see problem

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


Navigation
Links