Jump to content

User:TCN7JM/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.
//<nowiki>
//Twinkle
if ( mw.config.get('wgDBname' )  === 'enwiki' ) {mw.loader.load('//en.wikipedia.org/w/index.php?title=User:AzaToth/morebits.js&action=raw&ctype=text/javascript')}

// try
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:PiRSquared17/twinkle.js&action=raw&ctype=text/javascript');
 
//Mark blocked
mw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

//Mark sysops
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Splarka/sysopdectector.js&action=raw&ctype=text/javascript');

//Tagger
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js‎&action=raw&ctype=text/javascript');
if(typeof(taggerConfig) == 'undefined') taggerConfig = {};
taggerConfig.tags = [];
taggerConfig.editSummary = [];
taggerConfig.tags[1] = '{{delete|Vandalism/long-term abuse}}';
taggerConfig.editSummary[taggerConfig.tags[1]]='LTA';
taggerConfig.tags[2] = '{{delete|Spam}}';
taggerConfig.editSummary[taggerConfig.tags[2]]= 'delete';
taggerConfig.tags[3] = '{{delete|Vandalism}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = 'delete';
taggerConfig.tags[4] = '{{delete|No meaning}}';
taggerConfig.editSummary[taggerConfig.tags[4]]= 'Deletion tagging';
taggerConfig.tags[5] = '{{delete|Test page}}';
taggerConfig.editSummary[taggerConfig.tags[5]]= 'delete';
taggerConfig.tags[6] = '{{delete|Vandalisme}}';
taggerConfig.editSummary[taggerConfig.tags[6]]= 'supprimer';
taggerConfig.tags[7] = '{{delete}}';
taggerConfig.editSummary[taggerConfig.tags[7]]= 'delete';
taggerConfig.tags.other='Custom';
if(typeof(taggerConfig) == 'undefined') taggerConfig = {};
taggerConfig.noDeleteOnly = true;
//</nowiki>