Page MenuHomePhabricator

Decimal mark in ArticleFeedback ratings is not language-dependent
Closed, ResolvedPublic

Description

When showing page average ratings, the dot is used for decimal values regardless of the wiki language. For example, a rating of 4.7 should show 4,7 in Portuguese as does {{formatnum:4.7}}.


Version: unspecified
Severity: trivial

Details

Reference
bz31126

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:50 PM
bzimport set Reference to bz31126.

(In reply to comment #0)

When showing page average ratings, the dot is used for decimal values
regardless of the wiki language. For example, a rating of 4.7 should show 4,7
in Portuguese as does {{formatnum:4.7}}.

The number is generated in JS so we don't have {{formatnum:}} there. We do have the decimal separator transform table variable thingy there, so implementing this shouldn't be too hard to do.

Fixed in r98110 and r98111 for pt, pt-br and nl languages.

(In reply to comment #2)

Fixed in r98110 and r98111 for pt, pt-br and nl languages.

Thank you!