*
* See also ImagePage.php#makeMetadataTable (creates the HTML)
*/
-( function ( mw, $ ) {
+( function () {
$( function () {
var $tables = $( '.mw_metadata' );
if ( !$tables.find( '.mw-metadata-collapsible, .collapsable' ).length ) {
$tables.addClass( 'collapsed' );
} );
-}( mediaWiki, jQuery ) );
+}() );