Page MenuHomePhabricator

Numbers automatically converts into Khmer Language
Closed, InvalidPublic

Description

Bug

Numbers are automatically convert into Khmer Language on https://km.wikipedia.org/
so that it creates problem when we parse into templates or any other operations like mathematical.

You can see this behaviour on following page.
https://km.wikipedia.org/wiki/ទំព័រគំរូ:Calendar?setlang=en


Version: wmf-deployment
Severity: normal

Attached:

Screen_Shot_2014-03-01_at_4.08.07_pm.png (700×1 px, 195 KB)

Details

Reference
bz62097

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport set Reference to bz62097.
bzimport added a subscriber: Unknown Object (MLST).

This has nothing to do with bugzilla. It's about template coding. You have to use {{formatnum:Khmer_numbers|R}} to convert Kmer numbers to normal numbers. For example, use {{formatnum:{{#time:Y}}|R}} instead of {{#time:Y}}.