Last modified: 2010-05-15 15:37:29 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 T4730, the corresponding Phabricator task for complete and up-to-date bug report information.
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