×
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
    (Created page with "→‎Any JavaScript here will be loaded for sysops only: mw.loader.using( [ 'mediawiki.util', 'mediawiki.user' ] ).done( function () { // Use callback to ensure functions are...")
     
    (Update/normalise URLs)
     
    (3 intermediate revisions by the same user not shown)
    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

    /* Any JavaScript here will be loaded for registered users only */

    window.fdButtons = [
    {
    summary: "Housekeeping",
    label: "Housekeeping",
    },
    {
    summary: "Vandalism",
    label: "Vandalism",
    },
    {
    summary: "Spam",
    label: "Spam",
    },
    {
    summary: "Low quality article; not really needed like this. ",
    label: "Low Quality",
    },
    {
    summary: "Copyright Violation",
    label: "Copyright",
    },
    {
    summary: "Marked for Deletion",
    label: "Marked for Deletion",
    },
    ];

    mw.loader.load( '/MediaWiki:FastDelete.js?action=raw&ctype=text/javascript' );
    mw.loader.load( '/MediaWiki:PageRenameAuto-Update.js?action=raw&ctype=text/javascript' );
    mw.loader.load( '/MediaWiki:CategoryRenameAuto-Update.js?action=raw&ctype=text/javascript' );
    // mw.loader.load( '/MediaWiki:EditConflictAlert.js?action=raw&ctype=text/javascript' );
    mw.loader.load( '/MediaWiki:AjaxUndo.js?action=raw&ctype=text/javascript' );
    // mw.loader.load( '/MediaWiki:MisspelledPage.js?action=raw&ctype=text/javascript' );
    mw.util.addPortletLink(
    mw.util.addPortletLink(
    'p-tb',
    'p-tb',

    Latest revision as of 21:01, 17 May 2023

    /* 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
    
    /* Any JavaScript here will be loaded for registered users only */
    
      window.fdButtons = [
        {
          summary: "Housekeeping",
          label: "Housekeeping",
        },
        {
          summary: "Vandalism",
          label: "Vandalism",
        },
        {
          summary: "Spam",
          label: "Spam",
        },
        {
          summary: "Low quality article; not really needed like this. ",
          label: "Low Quality",
        },
        {
          summary: "Copyright Violation",
          label: "Copyright",
        },
        {
          summary: "Marked for Deletion",
          label: "Marked for Deletion",
        },
      ];
    
    mw.loader.load( '/MediaWiki:FastDelete.js?action=raw&ctype=text/javascript' );
    mw.loader.load( '/MediaWiki:PageRenameAuto-Update.js?action=raw&ctype=text/javascript' );
    mw.loader.load( '/MediaWiki:CategoryRenameAuto-Update.js?action=raw&ctype=text/javascript' );
    // mw.loader.load( '/MediaWiki:EditConflictAlert.js?action=raw&ctype=text/javascript' );
    mw.loader.load( '/MediaWiki:AjaxUndo.js?action=raw&ctype=text/javascript' );
    // mw.loader.load( '/MediaWiki:MisspelledPage.js?action=raw&ctype=text/javascript' );
    		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.