User:Stwalkersock/common.js

Source: Wikipedia, the free encyclopedia.
<
User:Stwalkersock
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/***********************************************************************************************************/
// Userrights thing in corner
importScript('User:Splarka/sysopdectector.js');
var showUserGroupSettings = {
	'IP':false,
	'unregistered':true,
	'registered':false,
	'groups': true,
	'editcount':true,
	'regdate':true,
	'blocked':true
};

if (typeof(userACC) === 'undefined'){ var userACC = mw.config.get( 'wgUserName' ).replace(" ", "_"); }
$.ajax({
	url: '//accounts.wmflabs.org/api.php?action=status',
	dataType: 'xml',
	success: function(ACCstatus) {
		var requests = parseInt($(ACCstatus).find('status').attr('open'), 10);

			mw.util.addPortletLink('p-tb', '//accounts.wmflabs.org/acc.php?tplUsername=' + userACC, requests + ' requested accounts!', 'p-acc', 'Go to the Account Creation Interface');
		
	}
});

importScript('User:The Earwig/copyvios.js');
importScript('User:MusikAnimal/responseHelper.js');
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

importScript('User:Timotheus_Canens/spihelper.js');
mw.loader.load("/w/index.php?title=User:Writ Keeper/Scripts/cuStaleness.js&action=raw&ctype=text/javascript");

importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]

importScript('User:Stwalkerster/grouphighlight.js');