[Bug 60604] {{formatnum: }} gives different results on Translations: pages

2014-01-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60604

Tomasz W. Kozlowski tom...@twkozlowski.net changed:

   What|Removed |Added

Summary|{{#expr: }} gives different |{{formatnum: }} gives
   |results on Translations:|different results on
   |pages   |Translations: pages

--- Comment #7 from Tomasz W. Kozlowski tom...@twkozlowski.net ---
(In reply to comment #4)

 There are at least four places where something can go wrong in that example.
 Please narrow it down.

OK, it appears the problem lies within {{formatnum: }} and not in {{#expr:}}:
compare
https://commons.wikimedia.org/w/index.php?diff=115117520oldid=115094092 and
https://commons.wikimedia.org/w/index.php?diff=115117560oldid=115092667

-- 
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


[Bug 60604] {{formatnum: }} gives different results on Translations: pages

2014-01-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60604

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #8 from Nemo federicol...@tiscali.it ---
That's expected behaviour, formatnum is trying to unformat according to Polish
rules but you provided it with an English-formatted numbers. This is a core
issue, invalid for Translate and duplicate of bug 35922 for core.

-- 
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


[Bug 60604] {{formatnum: }} gives different results on Translations: pages

2014-01-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60604

--- Comment #9 from Tomasz W. Kozlowski tom...@twkozlowski.net ---
https://www.mediawiki.org/wiki/Help:Magic_words#Formatting suggests that the
numbers are formatted according to the wiki's default locale, which in
Commons's example is, I think, English.

-- 
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


[Bug 60604] {{formatnum: }} gives different results on Translations: pages

2014-01-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=60604

--- Comment #10 from Niklas Laxström niklas.laxst...@gmail.com ---
The problem is that CoreParserFunctions::formatRaw uses content language and
not page language while formatnum raw excepts page language.

-- 
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