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

           Summary: JavaScript preview doesn't work with source tag
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Javascript
        AssignedTo: d...@ucsc.edu
        ReportedBy: e...@wp.pl
                CC: tpars...@wikimedia.org


Steps:
1. Enable JavaScript preview.
2. To an empty page add something in a source tag e.g.
<source lang="css">
li[id^="pt-prefswitch-"],
li[id^="pt-optin-"]
{display:none !important}
</source>
3. Run preview.

Expected:
Same preview as without JS.

Result:
The text seem to be unparsed.

This is because geshi extension produces CSS for the language inside the
generated page and JS preview. You might say this is a bug in geshi, but geshi
works fine without JS and there might be more cases like that with other
extensions.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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