User:Lifernal/wowwiki.js

importedScripts = {}; function importScript( page ) { if( importedScripts[page] ) { return; }    importedScripts[page] = true; var url = wgScriptPath + '/index.php?title=' + encodeURIComponent( page.replace( / /g, '_' ) ) + '&action=raw&ctype=text/javascript'; var scriptElem = document.createElement( 'script' ); scriptElem.setAttribute( 'src', url ); scriptElem.setAttribute( 'type', 'text/javascript' ); document.getElementsByTagName( 'head' )[0].appendChild( scriptElem ); } importScript("User:Kaydeethree/autoedit.js"); importScript("User:Kaydeethree/recent2.js");