User:Shanmugamp7/common.js

From mediawiki.org

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.
// TWINKLE
importScriptURI('//en.wikipedia.org/w/index.php?title=User:AzaToth/morebits.js&action=raw&ctype=text/javascript');
importScriptURI('//meta.wikimedia.org/w/index.php?title=User:PiRSquared17/twinkle.js&action=raw&ctype=text/javascript');
importScriptURI('//www.wikidata.org/wiki/User:Legoktm/easyblock.js&action=raw&ctype=text/javascript');
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Shanmugamp7/global.js&action=raw&ctype=text/javascript');
// Tagger 
// By [[m:User:Hoo man]]
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] = '{{speedy|No meaningful content}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = 'speedy — little or no meaningful content';
taggerConfig.tags[2] = '{{speedy|Nonsense / test}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = 'speedy - nonsense / test ';
taggerConfig.tags[3] = '{{speedy|Vandalism}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = 'speedy — vandalism';
taggerConfig.tags[4] = '{{speedy|Outside of the scope of the project}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = 'speedy — out of scope';
taggerConfig.tags[5] = '{{speedy|Spam}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = 'speedy — spam/ad';
taggerConfig.tags[6] = '{{speedy|Copyright violation}}';
taggerConfig.editSummary[taggerConfig.tags[6]] = 'speedy — copyright violation';
taggerConfig.tags[7] = '{{speedy|cross wiki spam}}';
taggerConfig.editSummary[taggerConfig.tags[7]] = 'speedy — cross wiki spam';
taggerConfig.tags[8] = '{{speedy|Blanked by author}}';
taggerConfig.editSummary[taggerConfig.tags[8]] = 'speedy — blanked by author';
taggerConfig.tags[9] = '{{speedy}}';
taggerConfig.editSummary[taggerConfig.tags[9]] = 'speedy';
taggerConfig.tags[10] = '{{speedy|Redirect to deletedor non existing page}}';
taggerConfig.editSummary[taggerConfig.tags[10]] = 'Deletion request-Redirect to speedyd or non existing page';
 
taggerConfig.tags.other = 'Others (edit summary is mandatory)';
taggerConfig.customTagDefault = '{{delete|';
//</nowiki>

// By [[m:User:Krinkle]]
 importScriptURI('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/Countervandalism.js&action=raw&ctype=text/javascript');
 
 
//The usual popups by Lupin
// [[wikipedia:User:Lupin/popups]]
//importScriptURI("//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript");
 
// Shows the number of active (one log entry in the last 7 days, or as configured) sysops, uses data from the toolserver
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Active_sysops>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js‎&action=raw&ctype=text/javascript');
 
//importScriptURI('http://incubator.wikimedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');
 
// Useful script to tell if a user is currently blocked
mw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');


importScript('User:Shanmugamp7/userMessages.js');