Last modified: 2010-10-14 06:30:11 UTC
I have an extension running on a parser hook. Changes to $wgOut are shown when previewing the revision, but not on the actual page. I have a really easy way to repeat the bug using the ImageMap extension (the bug itself is not in ImageMap)- -install the ImageMap extension -modify ImageMap_body.php -find the line # Determine whether a "magnify" link is present -just before this line, add two lines of code, so the three together are: global $wgOut; $wgOut->addMeta ('test', 'test'); # Determine whether a "magnify" link is present Edit a page with an ImageMap on it. The meta tag gets added when previewing the page but not on the page itself.
If you are using $wgOut in parser function (which you shouldn't), it doesn't get cached with the parsed article content.