Page MenuHomePhabricator

Language::parseFormattedNumber does not work for lzh and zh-classical
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: normal

Details

Reference
bz64347

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:16 AM
bzimport set Reference to bz64347.
aude created this task.Apr 24 2014, 2:31 AM

Change 129369 had a related patch set uploaded by Aude:
Fix Language::parseFormattedNumber for lzh and zh-classical

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

Change 129369 merged by jenkins-bot:
Fix Language::parseFormattedNumber for lzh and zh-classical

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