Problem
ParserFunctions Extension does not support any UTF-8 Digit, Which is Define in $digitTransformTable (languages\messages\MessagesHi.php). like १, २ .
Step of Reproduction
- Goto Any wiki where digitTransformTable is enabled. In my case, I went https://hi.wikibooks.org
- Make your own User Sandbox. and try this.
{{#expr: १ + २ }} {{#time: Y m d H:i:s | १९५९ }} {{#ifexpr: १२३४५ = १२३४५ | A | B}} {{#ifexpr: १ > ० | yes }}
- https://hi.wikibooks.org/wiki/User:Jayprakash12345/Sandbox. It return Expresion Error.
Solution
Fetch Numeral from '$digitTransformTable' (If Defined and Enabled) to local wiki. And Make Compatible with UTF-8 Digit Support.
Additional Note
- @MarkAHershberger Sir, Already made some ParserFunctions.diff Take help from (T36193). And make this in Final line.
- {{#expr: 1 + 2 }} return 3 while {{#time: Y m d H:i:s | 1959 }} return local numeral on hiwikibooks See My Sandbox.