Page MenuHomePhabricator

[ui] First version of geocoordinate datatype support
Closed, ResolvedPublic

Description

Implement a first version of geocoordinate datatype support


Version: unspecified
Severity: normal

Details

Reference
bz48860

Related Objects

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:34 AM
bzimport set Reference to bz48860.
bzimport added a subscriber: Unknown Object (MLST).

As of the mw1.22-wmf6 branch, the UI parses some geo-coordinates, but there several issues:

  • Wikipedia uses the form 52°31′N 13°23′E, with an acent (′) to represent "minutes". Wikibase expects an apostrophe (').
  • The German Wikipedia uses the format 52/31/7/N 13/24/29/E in template parameters (which would probably be used by import bots); Wikibase doesn't accept that.
  • Providing minutes using the form 52°31'11"N 13°23'8"E doesn't work, while 52°31'1.01"N 13°23'8.0"E does.
  • No localization support: east has to be indicated using "E", decimals have to be given using ".".

Verified in Wikidata demo sprint 22-9