Last modified: 2012-05-11 21:17:30 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 }}]]
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...
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.
> Then I changed the language to Dutch Which language? The wiki language or your own user language?
User language in the preferences. When I changed the language back again to English, the result was ok again.
I installed MediaWiki 1.19 and it seems that the problem doesn't occur anymore.
(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.