Page MenuHomePhabricator

lang:parseFormattedNumber should return a number, not a string
Closed, ResolvedPublic

Description

The documentation, and the expectation of users, is that lang:parseFormattedNumber() should actually return a number, not a string.

See https://www.mediawiki.org/wiki/Extension_talk:Scribunto/Lua_reference_manual#mw.language:parseFormattedNumber


Version: master
Severity: normal

Details

Reference
bz47268

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:40 AM
bzimport set Reference to bz47268.
Anomie created this task.Apr 16 2013, 12:55 AM

Related URL: https://gerrit.wikimedia.org/r/59364 (Gerrit Change Ieabddd0d9192f1fd8ef7e890d5d6268be9636f38)

https://gerrit.wikimedia.org/r/59364 (Gerrit Change Ieabddd0d9192f1fd8ef7e890d5d6268be9636f38) | change APPROVED and MERGED [by jenkins-bot]

Change 95400 had a related patch set uploaded by MarkAHershberger:
(bug 47268) lang:parseFormattedNumber should return a number, not a string

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

Change 95400 merged by MarkAHershberger:
(bug 47268) lang:parseFormattedNumber should return a number, not a string

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

No open patches to review here (backport patch to REL_1_21 got merged), hence resetting status to RESOLVED FIXED. Backport_to_Stable flag might be set to "+" by hexmode.