On Mon, Oct 5, 2009 at 3:02 PM, Micke Nordin <[email protected]> wrote: > I have written an extension for embedding Google Waves on a wiki page: > http://www.mediawiki.org/wiki/Extension:GoogleWave > > In one of my test wikis this is working like a charm: > > http://mickenordin.se/~micke/phase3/index.php/Huvudsida > > on another it is not: > > http://mickenordin.se/wiki/Wave > > On the problem wiki it looks like the javascript isn't loaded properly and I > need to use &action=purge to get the javascript to load at all. > > Same problem occurs in a vanilla install of 1.16alpha (r57355) > > Why is this do you think? What can I do to get the javascript to get loaded on > each page view? >
The javascript you are outputting is dynamic content, and it is being cached by the parser cache. You can disable the parser cache on pages that use your extension [1], or you can find a way to do the dynamic stuff after page load. V/r, Ryan Lane [1] http://www.mediawiki.org/wiki/Extensions_FAQ#How_do_I_disable_caching_for_pages_using_my_extension.3F _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
