MediaWiki:Common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Naleksuh (talk | contribs)
mNo edit summary
Naleksuh (talk | contribs)
mNo edit summary
Line 7: Line 7:


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

Revision as of 20:43, 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/linkfix.js&action=raw&ctype=text/javascript");