Page MenuHomePhabricator

Allow <map... coords="NNN, NNN"> in addition to (lat, lon)
Closed, DeclinedPublic


Some systems may contain combined coordinates "lat, long" as one string instead of two separate values. For example, {{#property:P625|from=Q470273}} outputs a single string from Wikidata (see T129713#2157681). We should allow for one value entry in addition to, or instead of, the lat=NNN lon=NNN two attributes, e.g.

<mapframe coords="42.0330524,-93.659409">

TODO: bikeshed about the attribute name: coords, coordinates, loc, location, position, pos, ... ?

Event Timeline

Yurik created this task.Mar 29 2016, 5:13 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 29 2016, 5:13 PM
Yurik added a subscriber: daniel.Mar 29 2016, 5:49 PM

Per IRC with @daniel : {{#property}} wouldn't work because it may return multiple values. We will still need a Lua value converter, which means we might as well stick with lat=NNN lon=NNN. So not sure if this is needed or not.

Yurik closed this task as Declined.Mar 29 2016, 8:47 PM

Per above, no real point for it

Restricted Application added a project: Discovery. · View Herald TranscriptJun 12 2016, 2:59 AM