Topic on Help talk:Extension:Kartographer

Issue: Transcluded maps will go blank when changing the content of <mapframe>

4
NeoGeneric (talkcontribs)

Problem:

When using the <mapframe> tag in a template, any changes made to the map data (i.e. data within the <mapframe>...</mapframe> tags) will cause any transcluded instances of the map to go blank. While the map can still be viewed when clicked on, the small preview window is blank.

How to reproduce:

  • Create a template page (such as a template sandbox ) that contains the <mapframe> tag. (e.g. The San Francisco museums example at Help:Extension:Kartographer#<mapframe>_usage
  • Create a page that transcludes the template with this map
  • Make an edit to the content of the <mapframe> tag (e.g. change marker-size from "large" to "medium")
  • Reload the page that transcludes the template, the map will now appear blank on this page.
CKoerner (WMF) (talkcontribs)

That doesn't sound right, but I'm afraid I can't reproduce. Here's an example on English Wikipedia using the Template:Mapframe. I think this might be something where it can take a few minutes to generate a thumbnail. Do you have an example I can see on-wiki somewhere?

NeoGeneric (talkcontribs)
NeoGeneric (talkcontribs)

The thumbnail has since appeared without any intervention. So as you suggested, it appears to just be a delay in rendering the thumbnail. My mistake!