map not loading after doEdit(...)

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

Hi Jeroen - thanks for the reply.. i've finally been able to come back to this and still can't figure it out.. i'm really hoping you have some idea what's going on.

Essentially I have a Special page that allows users to edit pages without going through the normal Edit page and the possible confusing wikitext.

When the user is saving their edits from my Special page, I do something (simplified here for my example) like :

$text = '{{#display_points:Japan}}'; $article->doEdit($text, ...);

When I then go to look at the page, it just sits on a Loading message for the map

Dylan 08311.jpg

When I look at the actual source of the wikitext through the normal Edit page, it looks exactly as it should:

Dylan 08312.jpg

Then, if I save it without making ANY changes, it displays the map correctly. Looking at the Page History after this save doesn't show any changes so for some reason the map starts to work after I save it through the Edit page without actually making a change to the wikitext.

Very odd problem and frustrating.. do you have any idea what could be going on?

Many thanks, Dylan

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