Page MenuHomePhabricator

Maplink (via Wikidata) shows only empty window without map on la.wikipedia
Open, Needs TriagePublic

Description

Latin Wikipedia, which has JsonConfig and Kartographer extensions loaded, uses a maplink via Wikidata in two templates, https://la.wikipedia.org/wiki/Formula:Capsa_urbis_Vicidata and https://la.wikipedia.org/wiki/Formula:Fontes_geographici. As an example, the page https://la.wikipedia.org/wiki/Cisonium has both templates. The coordinates are taken from Wikidata, and clicking on the coordinates should call Maplink and provide the external map services.

The actual result is to bring up an almost-empty window with a functionless map pin in the centre. Evidently the window should be filled with a Wikimedia map: problem 1, it isn't.

But at least, at bottom right, there is a link "External maps". Clicking it, you get a short list of map services, which can be expanded to a longer list, and the user can click any of them. Problem 2: some of those maps work, some of them don't. Examples: in the short list, Open Street Map does not work; in the longer list, ACME Mapper and several others do not work. But (using same examples) if you click the GeoHack link, and then choose ACME Mapper or Open Street Map from GeoHack, they work fine.

This is not a problem with the the Vicipaedia templates -- otherwise no maps would appear -- nor is it a browser problem: the same result is seen on PC, iPad, Android tablet, Smartphone. The problem seems to be with the Kartographer extension or its links to the map services.

The first priority would be to have a map appear, instead of a blank window, when first clicking on the coordinates. The second priority would be to make the other maplinks work. Thank you!

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 8 2019, 12:52 PM
Aklapper updated the task description. (Show Details)Jun 8 2019, 1:17 PM
Aklapper removed a project: Maps-Sprint.
Aklapper renamed this task from Maplink (via Wikidata) only half functional to Maplink (via Wikidata) shows only empty window without map on la.wikipedia.Jun 8 2019, 1:19 PM

For the records, external link to https://tools.wmflabs.org/geohack/geohack.php?language=la&pagename=Cisonium&params=50.568333333333_N_3.215_E_scale:NaN has an NaN; external link to OSM only shows a map after manually adding a proper zoom URL parameter. Looks like that's related.

UV added a subscriber: UV.Jun 10 2019, 9:02 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptJun 13 2019, 8:32 AM