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

           Summary: wikis with $wgRawHtml = TRUE can no longer use jQuery
                    in wikitext
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Resource Loader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Wikis like wikimediafoundation.org and payments.wikimedia.org allow the use of
javascript in wikitext - for things like dynamic forms and fundraising
thermometers. Now that jQuery isn't loaded until the end of the page, however,
all the jQuery pieces are broken. Obviously, there are several workarounds
available, but I would like to argue for including jQuery in the head if
$wgRawHtml = TRUE. It's only 100K of overhead and having it available for
wikitext seems like a very useful feature--maybe not for most foundation wikis,
but for intranet and private wikis especially.

Would it be difficult to add in a switch so that jQuery was included in the
head if $wgRawHtml = TRUE?

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to