Last modified: 2009-08-25 22:46:26 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 T22386, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20386 - Radix/Decimal character configuration
Radix/Decimal character configuration
Status: RESOLVED DUPLICATE of bug 10454
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-25 14:26 UTC by Derk-Jan Hartman
Modified: 2009-08-25 22:46 UTC (History)
3 users (show)

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


Attachments

Description Derk-Jan Hartman 2009-08-25 14:26:52 UTC
Currently parserfunctions only support . as the decimal separator. This is highly annoying to some languages which use the , as the decimal separator. There should be a way to configure this under MediaWiki:Radix-character or something, so that locale's can use their own radix character.
Comment 1 Theklan 2009-08-25 14:38:50 UTC
If you can also e-mail me as I'm interested on this bug for developing a calculation on basque wikipedia I would be glad.
Comment 2 Niklas Laxström 2009-08-25 14:44:06 UTC
In my opinion this isn't a good idea, and it would not be possible to keep backwards compatibility. If you want users to be able to input localised numbers, convert them first ({{FORMATNUM:##|R}} can do something, but be aware it is not indented for that use).
Comment 3 Derk-Jan Hartman 2009-08-25 19:39:30 UTC
I think the point was input AND output. 
Comment 4 Theklan 2009-08-25 22:28:50 UTC
In fact we have made the calculation using {{formatnum}}, but this is not the best solution, as for many users it's not intuitive to inter the area with a point instead of a comma and the population without punctuation. The result is OK, but all users must know this trick, and it's not very useful for most wikis.
Comment 5 Chad H. 2009-08-25 22:46:26 UTC

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

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


Navigation
Links