User:Dolledre/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.
//Preloads commond deletion reasons for crosswiki use
// [[File:Snowolf_GS_delete.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Snowolf/GS_delete.js&action=raw&ctype=text/javascript');
// Preloaded deletion reasons on all wikis
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Snowolf/delete.js&action=raw&ctype=text/javascript');
// Counts active sysops and links to stewardry
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;
/* Make user groups more obvious when viewing user pages */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Splarka/sysopdectector.js&action=raw&ctype=text/javascript');
// Twinkle for custom rollbacks and for users that don't have access to rollback locally
// TWINKLE
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');
/**
* Forces left-to-right layout and editing on RTL wikis.
* @see https://meta.wikimedia.org/wiki/Force_ltr
* @update-token [[File:pathoschild/forceltr.js]]
*/
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');
//The usual popups by Lupin
// [[wikipedia:User:Lupin/popups]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript');
//Live RC system for monitoring, works on all wikis, for when it's needed
// [[File:Krinkle_RTRC.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
// CIDR based/wildcard-based range contribs
// 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');
// Gives some useful links on user, user talk and user contribution pages
// by [[m:user:Hoo man]] <//meta.wikimedia.org/wiki/User:Hoo_man/useful_links.js>
// [[File:Hoo man/useful_links.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.js&action=raw&ctype=text/javascript');
// 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');
// A nice utc clock
mw.loader.load('//incubator.wikimedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');
// Depends on toolserver, takes ages to load, hasn't worked for me in ages :(
// A tool very similar to the Nuke Extension, but with more features
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Sledge_Hammer>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/sledgeHammer.js&action=raw&ctype=text/javascript');
/**
* Ajax sysop
* @see https://meta.wikimedia.org/wiki/Ajax_sysop
* @update-token [[File:pathoschild/ajaxsysop.js]]
*/
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.ajaxsysop.js');
// XWikiRollback
// by [[m:user:Erwin]] <http://meta.wikimedia.org/w/index.php?title=User:Erwin/xwikirollback.js>
// sadly this a slight security risk, I hope the referrer workaround fixes that
if(document.referrer && (decodeURIComponent(document.referrer).indexOf('http://toolserver.org/~luxo/contributions/contributions.php?') == 0 || decodeURIComponent(document.referrer).indexOf('https://toolserver.org/~luxo/contributions/contributions.php?') == 0)) {
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/xwikirollback.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');
/**********
*** StewardLinks
*** by [[m:User:Erwin]]
**********/
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/stewardlinks.js&action=raw&ctype=text/javascript');
/************
*** Bot policy implementation
*** by [[User:Pathoschild]]
************/
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:MarcoAurelio/bpi.js&action=raw&ctype=text/javascript');
// Tagger (example, speedy deletions)
// 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] = '{{delete|No meaningful content}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = 'Delete — no meaningful content';
taggerConfig.tags[2] = '{{delete|Nonsense / test}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = 'Delete - nonsense / test ';
taggerConfig.tags[3] = '{{delete|Vandalism}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = 'Delete — vandalism';
taggerConfig.tags[4] = '{{delete|Outside of the scope of the project}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = 'Delete — out of scope';
taggerConfig.tags[5] = '{{delete|Spam}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = 'Delete — spam';
taggerConfig.tags[6] = '{{delete|Copyright violation}}';
taggerConfig.editSummary[taggerConfig.tags[6]] = 'Delete — copyright violation';
taggerConfig.tags[7] = '{{delete|Local page of a Commons file}}';
taggerConfig.editSummary[taggerConfig.tags[7]] = 'Delete — this file exists on Commons';
taggerConfig.tags[8] = '{{delete|Blanked by author}}';
taggerConfig.editSummary[taggerConfig.tags[8]] = 'Delete — blanked by author';
taggerConfig.tags.other = 'Others (edit summary is mandatory)';
taggerConfig.customTagDefault = '{{delete|';
// </nowiki>