Last modified: 2014-02-18 13:30:00 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 T60391, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58391 - [time ui] commas as thousands separator for years faulty
[time ui] commas as thousands separator for years faulty
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
backlog, papercut
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-12 11:48 UTC by FelixReimann
Modified: 2014-02-18 13:30 UTC (History)
5 users (show)

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


Attachments

Description FelixReimann 2013-12-12 11:48:34 UTC
Commas are used as a thousands separator for years.
The year 10000 is displayed as "10,000". This is fine.

For larger year, like 10 million years, instead of
"10,000,000" (2 commas) only "10000,000" (1 comma) is displayed.

Besides the simple UI flaw, this also leads to irritations as it seems for speakers of languages which use commas as decimal mark, that the precision is changed and that instead of 10 million, 10 thousand with a precision of 3 decimal places (10,000.000) is stored in the database.

Examples:
- https://www.wikidata.org/wiki/Q744718
Start is 358.9 million years ago.
Displayed is "358900,000 years ago" (1 comma).
Correct would be "358,900,000 years ago" (2 commas) or,
respecting precision=4 "358.9 million years ago".

- https://test.wikidata.org/wiki/Q108
year is "12345670000".
Displayed is "in 12345670,000 years" (1 comma).
Correct would be "in 12,345,670,000 years" (3 commas).

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


Navigation
Links