Last modified: 2012-05-11 21:17:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38272, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36272 - Decimal separator is not correctly internationalized
Decimal separator is not correctly internationalized
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-26 14:18 UTC by Ad Strack van Schijndel
Modified: 2012-05-11 21:17 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ad Strack van Schijndel 2012-04-26 14:18:22 UTC
With the code below the result of the [[Amount::... call on the screen is 60.000 (correct) but the value of the Amount property on the page is 60. Obviously this is not correct.

{{#subobject:testNumbers
|Page={{PAGENAME}}
|Amount=10000
}}
{{#subobject:testNumbers
|Page={{PAGENAME}}
|Amount=20000
}}
{{#subobject:testNumbers
|Page={{PAGENAME}}
|Amount=30000
}}
[[Amount::{{#ask: [[Page::{{PAGENAME}}]]
|?Amount
|format=sum
}}]]
Comment 1 Jeroen De Dauw 2012-04-26 21:54:32 UTC
Which version of SMW are you using? Can you link to where this is happening. we've had reports about this before but I though it had been fixed...
Comment 2 Ad Strack van Schijndel 2012-04-27 06:59:01 UTC
It seems the problem has something to do with changing the language.

I created a test page on referata: http://scratchpad.referata.com/wiki/Test_number. When I created this page the result was ok. Then I changed the language to Dutch and the described problem occurred. 
I also tried it on a Dutch wiki, changing the language to English and the same thing happened: result ok before and not ok after changing the language.
Comment 3 Jeroen De Dauw 2012-04-27 17:48:14 UTC
> Then I changed the language to Dutch

Which language? The wiki language or your own user language?
Comment 4 Ad Strack van Schijndel 2012-04-28 08:52:36 UTC
User language in the preferences. When I changed the language back again to English, the result was ok again.
Comment 5 Ad Strack van Schijndel 2012-05-03 08:39:39 UTC
I installed MediaWiki 1.19 and it seems that the problem doesn't occur anymore.
Comment 6 [[kgh]] 2012-05-11 21:17:30 UTC
(In reply to comment #5)
> I installed MediaWiki 1.19 and it seems that the problem doesn't occur anymore.

I am closing this since this problem seems to have been related to I18n of MW which is fixed by now. Thus I am closing this bug with RESOLVED WORKSFORME. Please reopen in case you still detect a problem.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links