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.
Version: unspecified
Severity: normal