Last modified: 2014-04-25 10:54:14 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 T66347, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64347 - Language::parseFormattedNumber does not work for lzh and zh-classical
Language::parseFormattedNumber does not work for lzh and zh-classical
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Aude
:
Depends on:
Blocks: 63733
  Show dependency treegraph
 
Reported: 2014-04-24 02:31 UTC by Aude
Modified: 2014-04-25 10:54 UTC (History)
9 users (show)

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


Attachments

Description Aude 2014-04-24 02:31:59 UTC
Language::parseFormattedNumber uses the strtr php function which returns false if any of the array values are an empty string.

zh-classical and lzh have such values; therefore parseFormattedNumber returns empty result instead of a parsed number or even the original input value.
Comment 1 Gerrit Notification Bot 2014-04-24 03:05:32 UTC
Change 129369 had a related patch set uploaded by Aude:
Fix Language::parseFormattedNumber for lzh and zh-classical

https://gerrit.wikimedia.org/r/129369
Comment 2 Gerrit Notification Bot 2014-04-25 07:13:31 UTC
Change 129369 merged by jenkins-bot:
Fix Language::parseFormattedNumber for lzh and zh-classical

https://gerrit.wikimedia.org/r/129369

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


Navigation
Links