User:Jon Kolbert/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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.ajaxsysop.js');
// User:Quentinv57/HideButtonsFromNonGsProjects.js
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Quentinv57/HideButtonsFromNonGsProjects.js&action=raw&ctype=text/javascript');
// by [[m:User:Erwin]] (to see user groups and such)
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/stewardlinks.js&action=raw&ctype=text/javascript');
$.getScript('//tools.wmflabs.org/meta/scripts/pathoschild.stewardscript.js');
	
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PleaseStand/userinfo.js&action=raw&ctype=text/javascript');

//Add link to Meta's CentralAuth to tools when viewing contribs page
$.when( mw.loader.using( 'mediawiki.util' ), $.ready ).then( function () {
	if(mw.config.get("wgCanonicalSpecialPageName") == "Contributions" | "CentralAuth")
	{
		mw.util.addPortletLink(
			'p-tb',
			'https://meta.wikimedia.org/wiki/Special:CentralAuth/' + window.location.href.substr(window.location.href.indexOf('Special:Contributions/') + 22),
			'CentralAuth',
			't-CentralAuth',
			'View on Meta CentralAuth',
			'm',
			'#t-print'
		);
	}
} );
// 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');

// 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');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Stwalkerster/culoghelper.js&action=raw&ctype=text/javascript');