Module talk:Mapframe
![]() | Module:Mapframe is permanently protected from editing because 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 |
Copying template to another language wiki
Hi, I would like to request that this template, together with its dependencies be copied over to the Bulgarian wiki. There are a lot of pages that would benefit from it and there is currently no alternative template to use. The parameters can be left as is, but if needed I can translate them over.
default caption (text=map)
Hello, I propose to change the default text of the caption to be empty. In my opinion "map" doesn't really say anything meaningful. It is also a hurdle for other languages using the module.--McBayne (talk) 23:51, 25 October 2024 (UTC)
replication lag monitoring
Can someone remind me, where can we check if there's a general lag between data entry into OSM and data showing up in Wikimedia mapframes? FAQ A4 It can take 1 or 2 days after tagging on OSM before the data is available here.
I edited https://www.openstreetmap.org/relation/18351028 last night and in recent times it's been very quick, but now I'm not seeing the update and I'm starting to wonder.
IOW are the osm2pgsql run logs saved somewhere where they can be downloaded to see? --Joy (talk) 11:07, 30 November 2024 (UTC)
- Checks for lag are here - nothing unusual now but for some spikes earlier: mw:Help:Extension:Kartographer/OSM#Synchronization between OSM and Wikimedia wikis
- Nothing reported on Phabricator either. The links above do state anything up to 2 weeks is acceptable. I think it is nearly done as the relation is available, so wait another day I'd say. The Equalizer (talk) 09:11, 1 December 2024 (UTC)
- Thanks for the links, there is no apparent lag, but it's still not rendering on Guanipa River, maybe it's something else.
- This code behavior where one says
|mapframe=yes
and yet it still shows no error messages is rather frustrating, can we fix that somehow? --Joy (talk) 16:46, 2 December 2024 (UTC)- Fixed. Coordinates were missing off WD. Regs, The Equalizer (talk) 21:34, 2 December 2024 (UTC)
- Aha, [1], thanks.
- That apparent requirement doesn't quite make sense, either, since the interesting thing mapframe plots there is the line relation, not that point. --Joy (talk) 07:49, 3 December 2024 (UTC)
- And AFTER the lag, comes the caching. For some things this is 24 hours (shapes and OSM lookups), and other things (like raw tiles), this can be up to 30 days. —TheDJ (talk • contribs) 12:17, 3 December 2024 (UTC)
- Fixed. Coordinates were missing off WD. Regs, The Equalizer (talk) 21:34, 2 December 2024 (UTC)