[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-09-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659


Nemo_bis federicol...@tiscali.it changed:

   What|Removed |Added

 CC||federicol...@tiscali.it




--- Comment #13 from Nemo_bis federicol...@tiscali.it  2009-09-01 21:17:50 
UTC ---
Bug 16273 has been marked as a duplicate of bug 13025.

*** This bug has been marked as a duplicate of bug 13025 ***


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #7 from Niklas Laxström niklas.laxst...@gmail.com  2009-04-07 
07:07:02 UTC ---
The CLDR database says that number format for Italian is 12.345,679
Can you provide a reason why this should be changed against the standard?


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #8 from Lenore onthewh...@gmail.com  2009-04-07 12:50:30 UTC ---
(In reply to comment #7)
 The CLDR database says that number format for Italian is 12.345,679
 Can you provide a reason why this should be changed against the standard?
 

Sure. If you see [[it:Manuale di stile#Cifre e altri caratteri dei
numeri|italian manual of style]], you'll see the correct italian form
(corretto): 453#160;340,53 (#160;=nbsp;, but I suppose, for graphical
convenience, that the use of thinsp; would be better. Not-breaking space can
be included in a template like this span
style=white-space:nowrap{{formatnum:}}/span, right?)


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #9 from Lenore onthewh...@gmail.com  2009-04-07 12:52:50 UTC ---
(In reply to comment #8)
 (In reply to comment #7)
  The CLDR database says that number format for Italian is 12.345,679
  Can you provide a reason why this should be changed against the standard?
  
 
 Sure. If you see [[it:Manuale di stile#Cifre e altri caratteri dei
 numeri|italian manual of style]], you'll see the correct italian form
 (corretto): 453#160;340,53 (#160;=nbsp;, but I suppose, for graphical
 convenience, that the use of thinsp; would be better. Not-breaking space can
 be included in a template like this span
 style=white-space:nowrap{{formatnum:}}/span, right?)
 

Wikilink doesn't work. URL:
http://it.wikipedia.org/wiki/Aiuto:Manuale_di_stile#Cifre_e_altri_caratteri_dei_numeri


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #10 from Niklas Laxström niklas.laxst...@gmail.com  2009-04-07 
13:00:27 UTC ---
Changing thousand separator for it would affect everything in MediaWiki in all
MediaWiki installations. I don't quite buy it that itwiki style guide would
take precedence over other standards.


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #11 from Lenore onthewh...@gmail.com  2009-04-07 13:14:40 UTC ---
(In reply to comment #10)
 Changing thousand separator for it would affect everything in MediaWiki in all
 MediaWiki installations. I don't quite buy it that itwiki style guide would
 take precedence over other standards.
 

Sorry, on meta I read about formatnum
(http://meta.wikimedia.org/wiki/Help:Magic_words): Changes the decimal
separator and adds digit group separators (before the decimal separator only)
according to the wiki's default locale. From this, I understood that every
wiki had its own default for formatnum


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659


Niklas Laxström niklas.laxst...@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE




--- Comment #12 from Niklas Laxström niklas.laxst...@gmail.com  2009-04-07 
13:35:43 UTC ---
Indeed, it is only per language. I'll mark this bug as duplicate of 16273,
where more flexible number formatting is requested.

*** This bug has been marked as a duplicate of bug 16273 ***


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659


Niklas Laxström niklas.laxst...@gmail.com changed:

   What|Removed |Added

 CC||niklas.laxst...@gmail.com
 Status|NEW |RESOLVED
 Resolution||INVALID




--- Comment #3 from Niklas Laxström niklas.laxst...@gmail.com  2009-03-15 
09:30:37 UTC ---
Formatnum is designed for formatting numbers in interface elements with correct
decimal and thousand separators given a number in PHP's format 12345.12. It
cannot be used to prettyprint already formatted numbers. Except if you run them
through |R first.


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659


Lenore onthewh...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |




--- Comment #4 from Lenore onthewh...@gmail.com  2009-03-15 10:51:13 UTC ---
(In reply to comment #3)
 Formatnum is designed for formatting numbers in interface elements with 
 correct
 decimal and thousand separators given a number in PHP's format 12345.12. It
 cannot be used to prettyprint already formatted numbers. Except if you run 
 them
 through |R first.
 
Ah, ok. So, it should to be changed thousands separator only; bug reopened


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #5 from Niklas Laxström niklas.laxst...@gmail.com  2009-03-15 
17:53:39 UTC ---
(In reply to comment #4)
 Ah, ok. So, it should to be changed thousands separator only

I'm unable to parse that sentence.


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-03-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #6 from Lenore onthewh...@gmail.com  2009-03-15 21:35:04 UTC ---
(In reply to comment #5)
 (In reply to comment #4)
  Ah, ok. So, it should to be changed thousands separator only
 
 I'm unable to parse that sentence.
 
Only thousands separator should need to be changed; sorry


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-03-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659





--- Comment #2 from Lenore onthewh...@gmail.com  2009-03-15 02:00:00 UTC ---
(In reply to comment #1)
 On it.wikipedia it looks like the decimal separator already is ,, and the
 thousands separator is .. It should be possible to change
 $separatorTransformTable in MessagesIt.php to use thinsp instead.
 
 (Changing component, since formatnum is not in the ParserFunctions extension)
 
In effect, there's something strange in this function. Some examples

{{formatnum:299792458,56789}} gives 299.792.458.56.789
{{formatnum:299792458.56789}} gives 299.792.458,56789
{{formatnum:299.792.458.56.789|R}} gives 29979245856789
{{formatnum:299.792.458,56789|R}} gives 299792458.56789

it seems to recognize dot as decimal separator and then, effectively, changes
it in a comma. Instead it should be (at the moment)

{{formatnum:299792458,56789}} gives 299.792.458,56789

right?


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


[Bug 17659] Change default locale for {{formatnum:}} parser function

2009-03-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17659


Lejonel lejo...@telia.com changed:

   What|Removed |Added

 CC||lejo...@telia.com
  Component|ParserFunctions |Internationalization
Product|MediaWiki extensions|MediaWiki
Version|any |unspecified




--- Comment #1 from Lejonel lejo...@telia.com  2009-03-12 21:05:37 UTC ---
On it.wikipedia it looks like the decimal separator already is ,, and the
thousands separator is .. It should be possible to change
$separatorTransformTable in MessagesIt.php to use thinsp instead.

(Changing component, since formatnum is not in the ParserFunctions extension)


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