Page MenuHomePhabricator

Wikibase #statements parser function returns a broken result for all properties with the globecoordinate data type
Closed, DuplicatePublic

Description

The wikibase #statements parser function currently returns a broken result when it is used for any property of the globecoordinate data type, e. g. for the widely-used "coordinate location" property (P 625).

See the example here: https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=939185856#Maplink

Expected results: When I click on the link that reads "40°41′21″N 74°2′40″W", a map opens that displays the surroundings of the Statue of Liberty. Then, I can, e. g., zoom in, zoom out, etc.

Actual results: When I click on the link that reads "40°41′21″N 74°2′40″W", a nearly empty iframe opens. No actual map contents are shown. The controls for zooming in or zooming out have no effect.