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

       Web browser: ---
             Bug #: 33746
           Summary: Resource Loader should pre-depend on mw.util
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Resource Loader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified


After enabling *all* gadgets on commons.beta, I found far too many instances of
gadgets that would require they be wrapped in

  mw.loader.using( 'mediawiki.util', function ( $ ) {
  ...
  });

to be reasonable.  The only other instance of a dependency problem I found like
this was with
<http://commons.wikimedia.beta.wmflabs.org/wiki/MediaWiki:Gadget-Flickrfixr.js>.

mw.util is used in enough gadgets, though, that gadget-loading itself should be
wrapped with that dependency.

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

Reply via email to