Page MenuHomePhabricator

Decimal point / Comma inconsistent in geo coordinate
Closed, ResolvedPublic

Description

In the sample page, http://krefeldwiki.de/wiki/Herbst_Pitt , there is the same geo location attributed twice:

  1. using a decimal point in the " value (in the box at the right)
  2. using a comma as a decimal point in the " value (in the other right box)
  3. (not as a semantc attribute, at the end of the article)

The wiki language is German, which per its locale usually uses "," not "." as the decimal point. (Nonwithstanding, there is a not too small number of Germans who customarily use ".")

Nevertheless, when looking at the page, the attribute list, and the attribute page, one finds inconsitently either of the attributes functioning.

Since there is also the choice to ?uselang= something else, I suggest to allow both "," and "." in the coordinate values and treat them identically, so as to be as flexible as possible without unneccessaily limiting editors, and without creating ambiguities.


Version: unspecified
Severity: normal
OS: Linux
Platform: PC
URL: http://krefeldwiki.de/wiki/Herbst_Pitt

Details

Reference
bz11808

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:56 PM
bzimport set Reference to bz11808.
bzimport added a subscriber: Unknown Object (MLST).

P.S.
Feel free to experiment with the coordinates in Krefeldwiki, if you are interested, in order to find out how it is currently working.

OK, we now treat kilo separators optionally as decimal separators in all coordinates (side effect: you can use "," as a decimal separator in English). Coordinates now accept almost anything, even things like "12,45, 67.8" (in German and in English).