Jump to content

User:Noommos/global.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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// [[File:Krinkle_CVNSimpleOverlay_wiki.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.js&action=raw&ctype=text/javascript');

// Local Live Clock
mw.loader.load( '//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-LocalLiveClock.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );

// Shows the number of active sysops
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/active_sysops.js>
// [[File:Hoo man/active_sysops.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');

if(typeof(activeSysopsConfig) === 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisActiveSysops = true;
activeSysopsConfig.markWikisGS = true;

// Provides several usefull functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/smart_rollback.js>
// [[File:Hoo man/smart_rollback.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');

// Range contribs
// by [[m:user:Mike.lifeguard]] <http://meta.wikimedia.org/wiki/User:Mike.lifeguard/rangeContribs.js>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Mike.lifeguard/rangeContribs.js&action=raw&ctype=text/javascript');

// Tagger for eg. Speedy deletions
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/tagger.js>
// [[File:Hoo man/tagger.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');

//<nowiki>
if(typeof(taggerConfig) == 'undefined') taggerConfig = {};
taggerConfig.tags = [];
taggerConfig.editSummary = [];
taggerConfig.tags[1] = '{{delete|No meaningful content}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = '+delete - no meaningful content';
taggerConfig.tags[2] = '{{delete|Off-topic.}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = 'Tagging for deletion - off-topic page.';
taggerConfig.tags[3] = '{{delete|Spam.}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = '+delete - Spam';
taggerConfig.tags[4] = '{{delete|Vandalism.}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = '+delete - Vandalism';
taggerConfig.tags[5] = '{{delete|Blanked by author.}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = '+delete - Blanked by author.';
taggerConfig.tags[6] = '{{delete|Test.}}';
taggerConfig.editSummary[taggerConfig.tags[6]] = '+delete - Test.';
taggerConfig.tags.other = 'This is used for the option you have to select to be able to insert a custom template';
//</nowiki>