MediaWiki:Group-sysop.js

/* Any JavaScript here will be loaded for sysops only */ mw.loader.using( [ 'mediawiki.util', 'mediawiki.user' ] ).done( function {	// Use callback to ensure functions are loaded when we want them	if( mw.config.get('skin') === 'cosmos') { // Don't want to screw up other skins /*mw.util.addPortletLink( 'p-tb', mw.util.getUrl('Special:MassEdit'), 'MassEdit', 't-massedit' ); mw.util.addPortletLink( 'p-tb', mw.util.getUrl('Special:MassDelete'), 'MassDelete', 't-massdelete' ); mw.util.addPortletLink( 'p-tb', mw.util.getUrl('Special:MassProtect'), 'MassProtect', 't-massprotect' );*/		mw.util.addPortletLink( 'p-tb', mw.util.getUrl('Special:MultiUpload'), 'MultiUpload', 't-multiupload' );	} } );