Jump to content

User:Bugghost/common.js

From Wikipedia, the free encyclopedia
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.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/SmartDiff.js&action=raw&ctype=text/javascript');
importScript('User:Novem_Linguae/Scripts/CiteHighlighter.js'); // Backlink: [[User:Novem_Linguae/Scripts/CiteHighlighter.js]]

importScript('User:Guarapiranga/WhatRedirectsHere.js'); // Backlink: [[User:Guarapiranga/WhatRedirectsHere.js]]
importScript('User:Bellezzasolo/Scripts/subpages.js'); // Backlink: [[User:Bellezzasolo/Scripts/subpages.js]]
importScript('User:Enterprisey/diff-permalink-2.js'); // Backlink: [[User:Enterprisey/diff-permalink-2.js]]

importScript('User:Qwerfjkl/scripts/massXFD.js'); // Backlink: [[User:Qwerfjkl/scripts/massXFD.js]]
mw.loader.load('https://www.mediawiki.org/w/index.php?title=XTools/ArticleInfo.js&action=raw&ctype=text/javascript');

loadMyScript("UserRoleIndicator.js", false)

loadMyScript("betterreply.js", true);

//this.window.UserRoleIndicatorCustomPlacement = "before";
//importScript(scriptDomain + "UserRoleIndicator.js"); // Backlink: [[User:Bugghost/Scripts/UserRoleIndicator.js]]
//mw.loader.load( 'http://localhost:8000/userRoleIndicator.js' );

importScript('User:Bugghost/scripts/bop.js'); // Backlink: [[User:Bugghost/scripts/bop.js]]
//mw.loader.load( 'http://localhost:8000/citehighlightertesting.js' );

function loadMyScript(scriptName, localTesting){
	var scriptDomain = localTesting ? "http://localhost:8000/" : "User:Bugghost/Scripts/"
	
	if(localTesting){
		mw.loader.load(scriptDomain + scriptName);		
	}else{
		importScript(scriptDomain + scriptName);
	}
}
importScript('User:Chaotic Enby/RecentUnblockHighlighter.js'); // Backlink: [[User:Chaotic Enby/RecentUnblockHighlighter.js]]
importScript('User:Rublov/anonymize.js'); // Backlink: [[User:Rublov/anonymize.js]]