Page MenuHomePhabricator

rendering of mapframe is unstable
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
load https://de.wikipedia.org/wiki/Wikipedia_Diskussion:WikiProjekt_%C3%96sterreichische_Denkmallisten#Erweiterung_Denkmallisten_um_Shapes

  • some of the maps are rendered ok, other are left blank
  • purging does not help, edit/save does not help
  • in edit-mode / preview all the maps are rendered ok

What happens?:

  • the console shows bad requests for some of the maps, e.g.:

GET https://maps.wikimedia.org/img/osm-intl,a,48.197763,16.252246,150x150.png?lang=de&domain=de.wikipedia.org&title=Wikipedia+Diskussion:WikiProjekt+Österreichische+Denkmallisten&revid=228582629&groups=_ede017266a94ba5ffd829df524863e490507515e
[HTTP/2 400 Bad Request 231ms]

  • using the url above, I get the reply: Maximum zoom is 19 - but my maps are without explicit zoom-parameter
  • acc. to https://www.mediawiki.org/wiki/Help:Extension:Kartographer#%3Cmapframe%3E it is legal to omit parameter zoom: When zoom is not specified, Kartographer applies a best-guess automatic zoom level based on the position of any markers or geoshapes in the map.

What should have happened instead?:

  • rendering of syntactically correct maps should work stable.
  • some description would be helpful on how to overcome this issue

Other information (browser name/version, screenshots, etc.):

  • Firefox and chrome

Event Timeline

MSantos subscribed.

This bug is related to the snapshot library and the auto-zoom feature trying to request a max zoom allowed, this needs investigation to understand the root cause.

The snapshot is part of kartotherian and should fallback to a proper zoom limit.

WMDE-Fisch subscribed.

I think there were a couple of issues involved here including the mentioned failed auto positioning but also the broken parity on the map servers T316365: Restore the map data health and parity between clusters. Fixes for the underlying issues should be deployed.