Jump to content

User:Toto Azéro/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.
// 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.markWikisGS = true;

// Gives some useful links on user, user talk and user contribution pages
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Useful_links>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.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}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = '+{{delete}}';
taggerConfig.tags[2] = '{{delete|nonsense}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = '+{{delete}}';
taggerConfig.tags[3] = '{{delete|no content}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = '+{{delete}}';
taggerConfig.tags[4] = '{{delete|spam}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = '+{{delete}}';
taggerConfig.tags[5] = '{{delete|cross-wiki spam}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = '+{{delete}}';
taggerConfig.tags.other = 'This is used for the option you have to select to be able to insert a custom template';
//</nowiki>


mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/xwikirollback.js&action=raw&ctype=text/javascript');