https://bugzilla.wikimedia.org/show_bug.cgi?id=25515

           Summary: wgOut rendered different in preview
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: karuna...@hotmail.com


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to