Last modified: 2010-05-15 15:37:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2730 - Thousand-marker present in article count
Thousand-marker present in article count
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.5.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://mediawiki.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-06 23:15 UTC by Gabriel Beecham
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Attachments

Description Gabriel Beecham 2005-07-06 23:15:04 UTC
In the article count feature on MediaWiki 1.5, a comma has been added as a
thousand-marker - for example, when ((NUMBEROFARTICLES}} is used, an article
count of 1234567 is now rendered 1,234,567. But not all languages use commas as
thousand-markers - some use spaes, some use full stops (periods), some use
dashes. The thousand-marker should be removed, as it was before, to avoid this
problem.

If thousand markers are desireable, then perhaps in the future some feature
could be included in the Language.php file to specify the thousand-marker
required for that language; but for the moment, it should be restored to the
previous marker-free style.
Comment 1 Antoine "hashar" Musso (WMF) 2005-07-07 00:05:25 UTC
Magic words numbers are formated according to the language used.
This is done by formatNum() method in the various languages class.

If you find any language which is lacking proper formating, please
check for the formatNum function in that language file and notify
us with a bug report (one per language) or even better a patch
implementing the correct formatting :o)

Closing for now as MediaWiki already deals with number formatting.

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


Navigation
Links