User:Glaisher/global.js
Appearance
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.
window.usefulLinksIpTools = {
stopforumspam: {
url: 'https://stopforumspam.com/ipcheck/$1',
linkText: 'stop forum spam'
},
stalktoy: {
url: 'https://tools.wmflabs.org/meta/stalktoy/$1',
linkText: 'Stalk toy'
}
};
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Glaisher/autoPurge.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Glaisher/calcCIDR.js&action=raw&ctype=text/javascript');
//mw.loader.load( '//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-dropdown-menus-vector.js' );
var conf = mw.config.get('wgDBname'); if ( ['simplewiki','enwiki', 'mediawikiwiki'].indexOf(conf) == -1)
{
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Snowolf/GS_delete.js&action=raw&ctype=text/javascript');
//<nowiki>
if(typeof(taggerConfig) == 'undefined') taggerConfig = {};
taggerConfig.tags = [];
taggerConfig.editSummary = [];
taggerConfig.tags[1] = '{{delete|test}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = '+ delete (test)';
taggerConfig.tags[2] = '{{delete|spam}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = '+ delete (spam)';
taggerConfig.tags[3] = '{{delete|blanked by the author}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = '+ delete (blanked by the author)';
taggerConfig.tags[4] = '{{delete|out of scope}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = '+ delete (out of scope)';
taggerConfig.tags[5] = '{{delete|vandalism}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = '+ delete(vandalism)';
taggerConfig.tags[6] = '{{speedy|spam}}';
taggerConfig.editSummary[taggerConfig.tags[6]] = '+ delete(spam)';
taggerConfig.tags[7] = '{{delete|no useful content}}';
taggerConfig.editSummary[taggerConfig.tags[7]] = '+delete';
taggerConfig.tags[8] = '{{delete|wrong language}}';
taggerConfig.editSummary[taggerConfig.tags[8]] = '+delete (wrong language)';
taggerConfig.tags.other = 'This is used for the option you have to select to be able to insert a custom template';
//</nowiki>
if(typeof(activeSysopsConfig) == 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisGS = true;
if(typeof(activeSysopsConfig) == 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisActiveSysops = true;
activeSysopsConfig.markWikisActiveSysopsLessThan = 2;
}
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:He7d3r/Tools/jsUpdater.js&action=raw&ctype=text/javascript' );