Last modified: 2013-07-30 13:07:45 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 T53157, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51157 - 4-digits numbers in Spanish should not have a group separator
4-digits numbers in Spanish should not have a group separator
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.22.0
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-11 06:08 UTC by Metrónomo
Modified: 2013-07-30 13:07 UTC (History)
10 users (show)

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


Attachments

Description Metrónomo 2013-07-11 06:08:29 UTC
When asked this change: https://bugzilla.wikimedia.org/show_bug.cgi?id=34977 made ​​a mistake.

4-digit numbers should not be separated by a NON-BREAKING SPACE ( ). According to Spanish standards: http://lema.rae.es/dpd/?key=n%C3%BAmeros#2 (Real Academia Española)

Cite: "Los números de cuatro cifras se escriben sin espacios de separación: 2458 (no 2 458)"

i.e.: see https://es.wikipedia.org/wiki/WP:N%C3%9AMERO
Comment 1 Andre Klapper 2013-07-11 10:21:13 UTC
Thanks for taking the time to report this!

Related patchset: https://git.wikimedia.org/commitdiff/mediawiki%2Fcore.git/0f876a3c239252233b8466ae89e299883d3b9ed1
Comment 2 Nemo 2013-07-11 10:31:34 UTC
You're forgetting the sentence before that: «Al escribir números de más de cuatro cifras, se agruparán estas de tres en tres, empezando por la derecha, y separando los grupos por espacios en blanco: 8 327 451 (y no por puntos o comas, como, dependiendo de las zonas, se hacía hasta ahora: x8.327.451; x8,327,451)».

The non-breaking space is the correct separator; as in Italian (and perhaps other languages), it's usually not added for 4-digits numbers (i.e. for 1-digit thousands group) because it's overkill; updated summary. No idea about Spanish but in Italian this is a secondary rule, of lesser importance.
I don't know what it would take to implement such an exception to the formatting rule.
Comment 3 Bartosz Dziewoński 2013-07-12 20:46:13 UTC
I think this is implemented for Polish, so it should be easy enough to copy that code to Spanish.
Comment 4 Gerrit Notification Bot 2013-07-27 20:28:40 UTC
Change 76306 had a related patch set uploaded by Nemo bis:
4-digits numbers in Spanish should not have a group separator

https://gerrit.wikimedia.org/r/76306
Comment 5 Gerrit Notification Bot 2013-07-30 13:02:34 UTC
Change 76306 merged by jenkins-bot:
4-digits numbers in Spanish should not have a group separator

https://gerrit.wikimedia.org/r/76306

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


Navigation
Links