https://bugzilla.wikimedia.org/show_bug.cgi?id=30318

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|High                        |Low
            Version|unspecified                 |any
           Keywords|                            |i18n
          Component|General/Unknown             |ParserFunctions
                 CC|                            |bawolff...@gmail.com
            Summary|#expr: doesn't support      |#expr: doesn't recognize
                   |formatnum                   |localized numbers (aka what
                   |                            |{{formatnum:...}} makes )
            Product|MediaWiki                   |MediaWiki extensions
           Severity|critical                    |enhancement

--- Comment #3 from Bawolff <bawolff...@gmail.com> 2011-08-15 19:48:26 UTC ---
Changing component to the extension. I'm also lowering priority (I don't feel
"high" is appropriate for this bug ). And tagging i18n as its sort of an i18n
issue.

formatnum: also adds comma's/period's. For example in tr language
{{formatnum:1000}} becomes 1.000 (periods are the thousands separator in tr).
Thus 1.000 would have very different meanings depending on if you assumed it
was a formatted number or a "raw" number. (I suppose we could just transform
digits and not separators, but that feels really ugly, and it'd still have to
be done carefully). 

I don't feel this is a large issue because #expr is mostly used in templates,
and not encountered as much by the "average" user (although I could be wrong on
that), and thus am leaning towards thinking this should be a WONTFIX. Keep in
mind you can also do {{#expr:{{formatnum:{{{1}}}|R}}*1}} in templates, which
will de-format the number so your users can use fa numerals properly

reza1615: Could you give examples of times when this makes life difficult on fa
(or other languages for that matter) projects in order to better judge if
{{#formatnum:۲|R}} is sufficient (making this a wontfix) or if this should be a
higher priority issue?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to