User:Joeytje50/AWBload.js

$(window).load(function {	if (window.location.hash=='#loadAWB'&&(wgCanonicalNamespace+':'+wgTitle=='Project:AutoWikiBrowser/Script'||wgPageName=='User:Joeytje50/AWB')) {		if (skin!='monobook') {			window.location.href = wgServer+'/wiki/User:Joeytje50/AWB?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/User:Joeytje50/AWB?useskin=monobook#loadAWB'	} else {		importScript('User:Joeytje50/AWB.js')	} })