User:Thehelpfulone/global.js
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.
// Global js, loaded on every wiki
// <nowiki>
// TWINKLE
importScriptURI('//en.wikipedia.org/w/index.php?title=User:AzaToth/morebits.js&action=raw&ctype=text/javascript');
// try
importScriptURI('//meta.wikimedia.org/w/index.php?title=User:PiRSquared17/twinkle.js&action=raw&ctype=text/javascript');
// [[File:Krinkle_Vector_LTR.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/Vector_LTR.js&action=raw&ctype=text/javascript');
// XWikiRollback
// by [[m:user:Erwin]] <//meta.wikimedia.org/w/index.php?title=User:Erwin/xwikirollback.js>
// sadly this a slight security risk
// mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/xwikirollback.js&action=raw&ctype=text/javascript');
// Range contribs
// by [[m:user:Mike.lifeguard]] <//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');
// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <//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');
// 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');
// 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');
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|Not an article}}~~~~';
taggerConfig.editSummary[taggerConfig.tags[2]] = 'delete — not an article';
taggerConfig.tags[3] = '{{delete|Tiny create}}~~~~';
taggerConfig.editSummary[taggerConfig.tags[3]] = 'delete — tiny create';
taggerConfig.tags[4] = '{{delete|Copyright violation}}~~~~';
taggerConfig.editSummary[taggerConfig.tags[4]] = 'delete — copyright violation';
taggerConfig.tags[5] = '{{delete|Local page of a Commons file}}~~~~';
taggerConfig.editSummary[taggerConfig.tags[5]] = 'delete — this file exists on Commons';
taggerConfig.tags[6] = '{{delete|Blanked by author}}~~~~';
taggerConfig.editSummary[taggerConfig.tags[6]] = 'delete — blanked by author';
taggerConfig.tags.other = 'Others (edit summary is mandatory)';
taggerConfig.customTagDefault = '{{delete|';
// </nowiki>
// Shows the number of active sysops
// by [[m:user:Hoo man]] <//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');
// [[File:Krinkle_CVNSimpleOverlay_wiki.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.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');
/* Make user groups more obvious when viewing user pages */
importScriptURI('//en.wikipedia.org/w/index.php?title=User:PleaseStand/userinfo.js&action=raw&ctype=text/javascript');
// A tool very similar to the Nuke extension, but with more features
// by [[m:user:Hoo man]] <//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');
// A helpful script to move links from the Dropdown tab in the Vector skin to individual tabs instead.
importScriptURI('//en.wikipedia.org/w/index.php?title=User:Edokter/MenuToTabs.js&action=raw&ctype=text/javascript');