User:Skittleys/sandbox/sandbox.js

addOnloadHook(function {   location.href = mw.config.get('wgServer')+mw.config.get('wgScriptPath')+'/api.php?action=parse&prop=text&text='+encodeURIComponent('')+'&format=xml'; });