User:Joeytje50/AWBload.js

var CheckList = CheckList?CheckList:'';

$(window).load(function {	if (window.location.hash=='#loadAWB'&&(wgCanonicalNamespace+':'+wgTitle=='Project:AutoWikiBrowser/Script')) {		if (skin!='monobook') {			window.location.href = wgServer+'/wiki/Project:AutoWikiBrowser/Script?useskin=monobook#loadAWB'		} else {			importScript('User:Joeytje50/AWB.js')		}	} }) $(document).ready(function {	$('span#AWBLoader').html('Run AWB script ') }) $('button#loadAWB').click(function {	if (skin!='monobook') {		window.location.href = wgServer+'/wiki/Project:AutoWikiBrowser/Script?useskin=monobook#loadAWB'	} else {		importScript('User:Joeytje50/AWB.js')	} })