At the Wikivoyage projects many maps are empty since yesterday. All maps concerned use mapshaps delivered by the WMF's mapserver, see for instance https://de.wikivoyage.org/wiki/Vorlage:Mapframe. There are two failures:
- password failure
- Javascript failure
Firstly, I tried a call like this
https://maps.wikimedia.org/geoline?getgeojson=1&ids=Q3392
and I got the response "password authentication failed for user \"kartotherian\"". This should not happen. Normally the mapserver should return a string like:
{"type":"FeatureCollection","features":[{"type":"Feature","id":"Q3392","properties":{},"geometry":{"type":"MultiPolygon","coordinates":...
Secondly, the empty maps are the result of an erroneous Javascript script. It looks for responses (promises) from the mapserver, and in case of missing responses the script stops working. But also in case of missing promises a map should be drawn. I think the script should work like this:
Promise.all( promiseArray ) .then( function() { drawMap(); } ) // normal with retrieved data .catch( function() { drawMap(); } ); // with only some retrieved data