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

           Summary: Possible issue with addOnloadHook in wikibits
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: jeroen_ded...@yahoo.com
                CC: roan.katt...@gmail.com


I'm adding some inline JS to the page head section, which uses the
addOnloadHook function from wikibits. After the inclusion of wikibits moved to
the resource loader, this broke - addOnloadHook is not available at the point
where I'm using it. This is breaking all maps in the Maps and Semantic Maps
extensions.

An example of the JS that is breaking: http://dpaste.org/uB7Q/

How should I modify my code, or is this a bug in the resource loader?

-- 
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