User:Mike.lifeguard/monobook.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
function importAnyScript(lang,family,script) {
	mw.loader.load('//' + lang + '.' + family + '.org/w/index.php?title=' + script + '&action=raw&ctype=text/javascript');
}

importScript('User:Mike.lifeguard/remote.js');
importScript('User:Mike.lifeguard/coibot.js');
importScript('User:Mike.lifeguard/fixPaste.js');
importScript('User:Mike.lifeguard/fixPaste2.js');
importScript('User:Mike.lifeguard/globalBlockOptions.js');
importScript('User:Mike.lifeguard/globalMassBlock.js');

/**
 * StewardScript extends the user interface for Wikimedia stewards' convenience.
 * @see https://meta.wikimedia.org/wiki/StewardScript
 * @update-token [[File:pathoschild/stewardscript.js]]
 */
//mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.stewardscript.js');

//importScript('MediaWiki:Gadget-SBHandler.js');
//mw.loader.load('//toolserver.org/~erwin85/SBHandler.js');
SBHandlerAddComment   = ':{{Added}} ~~'+'~~';
SBHandlerRemComment   = ':{{Removed}} ~~'+'~~';
SBHandlerRevComment   = ':{{Reverted}} ~~'+'~~';
SBHandlerDecComment   = ':{{Declined}} ~~'+'~~';
SBHandlerCloseComment = ':{{Closing}} ~~'+'~~';