Interactive map fails to load
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
You get taken to https://en.wikipedia.org/w/index.php?title=Ceuta&oldid=1367014381#/media/File:Osm-intl,a,a,a,250x200.png which has a small map but also displays the error message:

Could not load image details (error: file does not exist: File:Osm-intl,a,a,a,250x200.png)

Note: this page will probably be getting a lot of traffic due to current events in the city.

Event Timeline

Same problem in svwiki. "Old maps" are displayed, but as soon as the page cache is cleared, only the "miniature map" is displayed.

Same problem on nowiki and nnwiki.

Oh, my. I had originally thought it was just the map on [[:en:Ceuta]] that was broken. It seems to be happening on all {{maplink}}s I can find.

This is also happening for me on enwiki, but not on all pages. Also, page San Francisco County Superior Court was working normally until I purged it, after which it was broken.

Change #1319908 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/Kartographer@master] Thumbnail: Exclude map figures from multimediaviewer

https://gerrit.wikimedia.org/r/1319908

Aklapper triaged this task as High priority.Sat, Aug 1, 8:56 AM
Aklapper added a project: Regression.

Happens for me too.. Kartographer/OSM maps embedded in all Wikipedia articles are having this issue

yes, if 5 people have the problem, 6 people will have the problem. We don't need more confirmations. We simply have to wait for monday.

Turning off Media Viewer in WP/Commons preferences or adding a wiki class (as stated here) gets around it - but it needs a proper fix of course.

At https://en.wikipedia.org/w/index.php?title=Poecilia_velifera&oldid=1359425527#Range, there's a set of {{maplink}}s which are encased in some complicated markup:

<div class="switcher-container mapframe-multi-container floatright"  style="width:  374px; border: 1px solid #a2a9b1; border-radius: 4px; padding: 8px; padding-right: 16px; box-sizing: border-box;">
<div>{{maplink|frame=yes|frame-width=350|frame-height=250|zoom=5|text=''P. '''v'''elifera'' (blue)||raw={"type": "ExternalData", "service": "page", "title": "Poecilia velifera distribution.map"} }}<span class="switcher-label" style="display:none;">Distribution of ''P. velifera'' on the Yucatán Peninsula</span></div>
<div>{{maplink|frame=yes|frame-width=350|frame-height=250|zoom=5|text=''P. '''v'''elifera'' (blue), ''P. '''k'''ykesis'' (green), ''P. '''o'''rri'' (yellow), and ''P. '''m'''exicana'' (orange) |raw=[{"type": "ExternalData", "service": "page", "title": "Poecilia velifera distribution.map"}, {"type": "ExternalData", "service": "page", "title": "Poecilia kykesis distribution.map "}, {"type": "ExternalData", "service": "page", "title": "Poecilia orri distribution.map "}, {"type": "ExternalData", "service": "page", "title": "Poecilia mexicana distribution.map "}]}}<span class="switcher-label" style="display:none;">Distribution of ''P. velifera'' and other mollies on the Yucatán Peninsula</span></div>
<div>{{maplink|frame=yes|frame-width=350|frame-height=250|zoom=1|text=Introduced locations||raw={"type": "ExternalData", "service": "page", "title": "Poecilia velifera introduced locations.map"} }}<span class="switcher-label" style="display:none;">Introduction of ''P. velifera'' across the globe</span></div>
</div>

These all display properly.

The https://maps.wikimedia.org maps service is reachable now, but it appears to be using an older OSM dataset. Recent edits that are already visible on OSM (including newly added landuse/forest polygons and places) are still absent from Wikimedia maps several days after being committed.
In addition, the original problem persists: Interactive maps embedded in Wiki articles still fail to load. On desktop, clicking the map still results in broken map behavior (File:Osm-intl... issues), and on mobile the message "Sorry, the map cannot be displayed" is still shown.

The https://maps.wikimedia.org maps service is reachable now, but it appears to be using an older OSM dataset. Recent edits that are already visible on OSM (including newly added landuse/forest polygons and places) are still absent from Wikimedia maps several days after being committed.

Please don't mix separate problems in one and the same ticket. This is a totally different problem from anything described here and you should file a separate ticket.

In addition, the original problem persists: Interactive maps embedded in Wiki articles still fail to load. On desktop, clicking the map still results in broken map behavior (File:Osm-intl... issues), and on mobile the message "Sorry, the map cannot be displayed" is still shown.

Did anyone say it was fixed yet ?

Change #1319908 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@master] Thumbnail: Exclude map figures from multimediaviewer

https://gerrit.wikimedia.org/r/1319908

Change #1320171 had a related patch set uploaded (by Jforrester; author: TheDJ):

[mediawiki/extensions/Kartographer@wmf/1.47.0-wmf.13] Thumbnail: Exclude map figures from multimediaviewer

https://gerrit.wikimedia.org/r/1320171

the problem is same in ukvoy, and probably in all wikivoyage language versions, i even wrote a task not knowing the problem is already being discussed here

This problem is happening at euwiki too.

Change #1320171 merged by jenkins-bot:

[mediawiki/extensions/Kartographer@wmf/1.47.0-wmf.13] Thumbnail: Exclude map figures from multimediaviewer

https://gerrit.wikimedia.org/r/1320171

Mentioned in SAL (#wikimedia-operations) [2026-08-04T13:38:48Z] <mszwarc@deploy1003> Started scap sync-world: Backport for [[gerrit:1320171|Thumbnail: Exclude map figures from multimediaviewer (T433703 T427709)]], [[gerrit:1320159|TimedText: Include SRT-only sources when listing playback tracks (T433666)]]

Mentioned in SAL (#wikimedia-operations) [2026-08-04T13:41:06Z] <mszwarc@deploy1003> mszwarc, jforrester: Backport for [[gerrit:1320171|Thumbnail: Exclude map figures from multimediaviewer (T433703 T427709)]], [[gerrit:1320159|TimedText: Include SRT-only sources when listing playback tracks (T433666)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-08-04T13:48:07Z] <mszwarc@deploy1003> Finished scap sync-world: Backport for [[gerrit:1320171|Thumbnail: Exclude map figures from multimediaviewer (T433703 T427709)]], [[gerrit:1320159|TimedText: Include SRT-only sources when listing playback tracks (T433666)]] (duration: 09m 19s)