MediaWiki:Common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
m Removed protection from "MediaWiki:Common.js"
Naleksuh (talk | contribs)
mNo edit summary
Line 5: Line 5:
mw.loader.load( 'ext.gadget.summaryButtons' );
mw.loader.load( 'ext.gadget.summaryButtons' );
} );
} );

// Temporary - remove this once SocialProfile extension is gone
mw.loader.load("https://testwiki.wiki/index.php?title=User:Naleksuh/common.js&action=raw&ctype=text/javascript");

Revision as of 20:41, 11 January 2021

/**
 * Edit description buttons for the visual editor
 */
mw.hook( 've.activationComplete' ).add( function () {
	mw.loader.load( 'ext.gadget.summaryButtons' );
} );

// Temporary - remove this once SocialProfile extension is gone
mw.loader.load("https://testwiki.wiki/index.php?title=User:Naleksuh/common.js&action=raw&ctype=text/javascript");