Module talk:Mapframe
Add topicAppearance
(Redirected from Module talk:Mapframe/sandbox)
Latest comment: 2 days ago by Zzyzx11 in topic mapframe: ... is not a valid map data page
| Module:Mapframe is indefinitely protected from editing as it is a heavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit.
|
| This is the talk page for discussing improvements to the Mapframe module, and the related Maplink template. |
|
| Archives: 1, 2Auto-archiving period: 5 months |
Frequently asked questions (see also: mw:Help:Extension:Kartographer) Q1: Where to file a bug report when there is a problem with the base map? (e.g. a missing lake)
A1: If the problem also occurs on OpenStreetMap, it needs to be fixed there. If the problem is only on Wikimedia's maps, it can be reported on Phabricator (you can log in with you Wikipedia account). See mw:How to report a bug for instructions (for the tags, use Maps). (Alternatively, you can try mw:Help talk:Extension:Kartographer) Q2: Where to report other bugs or problems with the maps?
A2: This may be a problem with the Wikipedia module, or it may be an underlying software bug (there are lots of those).
Q3: Why does the thumbnail map render as a static image when viewing pages, but is interactive when editing pages?
A3: On Wikipedia, and most wikis other than Wikivoyage, the emdeded thumbnail is a static map, and the full screen map needs to be opened before the map can be zoomed or panned. This is for for performance reasons, and to present some content if javascript is disabled, and for printing. That preview mode shows an interactive map is a bug, phab:T203863 (and also a performance issue). Further explanation can be found in the comments on phab:T202793. Q4: Why is a line or shape feature from OpenStreetMap not being shown?
A4: There are several possible causes:
Q5: Why are line, shape, or point features are not shown after editing or adding a map, even though they were shown in the page preview?
A5: This is a bug related to generating thumbnail map images. It should fix itself in an hour or two. See phab:T269984 for details. Q6: A page using mapframe's
|raw= parameter is showing error messages of "The time allocated for running scripts has expired." What can be done?A6: If the amount of raw data to be processed is too large, that timeout message may be shown. You can try moving the raw data to Commons (example) or replacing the mapframe template with the equivalent wikitext using Special:ExpandTemplates (example) |
| To help centralize discussions and keep related topics together, Template talk:Maplink and related subpages redirect here |
Old classes tleft and tright
[edit source]In L-893 to L-899 this module is applying the old classes tleft and tright (phab:T426452), which should become floatleft and floatright. See also Wikipedia:Village_pump_(technical)#c-Jonesey95-20260525235300-tleft/tright/tnone. Ponor (talk) 15:24, 29 May 2026 (UTC)
Fixed. That was a sneaky one; "tleft" did not appear in the code. – Jonesey95 (talk) 15:41, 1 June 2026 (UTC)
Switching multiple maplinks (VPT cross-post)
[edit source]I asked about switching multiple maplinks at Wikipedia:Village pump (technical)#Displaying multiple maplink maps with a switcher Commander Keane (talk) 05:17, 10 June 2026 (UTC)
- I've responded over there. Regs, The Equalizer (talk) 23:45, 10 June 2026 (UTC)
mapframe: ... is not a valid map data page
[edit source]I don't see any recent changes but a lot of pages are popping up the error. Interstate Highway System is an example.
I'm hoping it's just a server hiccup. – The Grid (talk) 17:00, 24 July 2026 (UTC)
- For articles I know, the error is related to /Data/ space stored in Commons (using your example: Commons:Data:Interstate 2.map). Tbhotch™ (CC BY-SA 4.0) 19:05, 24 July 2026 (UTC)
- This appears to be a bug related to a MediaWiki software change. See VPT. – Jonesey95 (talk) 21:30, 24 July 2026 (UTC)
- Looks like the bug is being tracked here: T433008 Zzyzx11 (talk) 14:11, 25 July 2026 (UTC)