Page MenuHomePhabricator

mapframe geoline service stopped working
Closed, DuplicatePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?

There is just a complete map of the globe. The element (e.g., road) is not highlighted even after zooming.
There is neither a suspicious message in the JS console under safemode=1 nor a 400+ or 500+ status code.

What should have happened instead?

The map is zoomed to the location of the element and there is an indication of its shape.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

  • Firefox 91.0.2
Silnice I/11Železniční trať Znojmo–Okříšky
obrazek.png (515×593 px, 56 KB)
obrazek.png (397×503 px, 43 KB)

The mapframe is invoked using templates, like Mapframe silnice, with the code:

{{#tag:mapframe|
{
  "properties":{"stroke-width":3,"stroke":"#ff0000"},
  "type":"ExternalData",
  "service":"geoline",
  "ids":"{{{id|{{#invoke:Wikidata|getCurrentId}}}}}"
}
|frameless=1
|width=256
|height=192
|align=center
}}

It's documented on mediawiki.org (but the example there doesn't work anymore either).