map not loading after doEdit(...)

Fragment of a discussion from Talk:Maps
Jump to: navigation, search

Ok here are a couple more clues to this puzzle:

  • I noticed that your Parser Function was getting called and in fact your google map javascript had been added after the map_google3_1 div, but it seems to happen right after I called my doEdit in my Special page, not when the page was actually being loaded (I put a die(...) in your Parser Function's render() function and it died right after I did the doEdit, not when the page was being loaded).
  • That led me to wonder if Purging the page would fix it, which it DID. Purging the article recalled your render() function correctly and let the map render correctly. Obviously this workaround won't work for real users...
  • I will also just mention the only thing helpful from Firebug. When the map does NOT work (i.e. right after it loads after my doEdit function) it does NOT call the mediawiki resource loader. When the map DOES work (i.e. after I resave it from the Edit page), the page DOES call the resource loader (.../load.php?debug=false&lang=en&modules=ext.maps.gm3.geoxml&....etc...)

Hope any of that helps... Dylan

Dylan20:15, August 31, 2011
Personal tools
Namespaces
Variants
Views
Actions
Navigation
Manuals
Useful lists
More awesomeness
Toolbox