×
Create a new article
Write your page title here:
We currently have 3,606 articles on DC Multiverse Wiki. Type your article name above or create one of the articles listed here!



    DC Multiverse Wiki

    MediaWiki:Group-sysop.js: Difference between revisions

    Content added Content deleted
    No edit summary
    (remove unused portlets)
    Line 3: Line 3:
    // Use callback to ensure functions are loaded when we want them
    // 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
    if( mw.config.get('skin') === 'cosmos') { // Don't want to screw up other skins
    mw.util.addPortletLink(
    /*mw.util.addPortletLink(
    'p-tb',
    'p-tb',
    mw.util.getUrl('Special:MassEdit'),
    mw.util.getUrl('Special:MassEdit'),
    Line 20: Line 20:
    'MassProtect',
    'MassProtect',
    't-massprotect'
    't-massprotect'
    );
    );*/
    mw.util.addPortletLink(
    mw.util.addPortletLink(
    'p-tb',
    'p-tb',

    Revision as of 03:52, 30 January 2021

    /* 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'
    		);
    	}
    } );
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.