User:Lilac Soul/dabsolve.js

function dabsolve { window.document.location.href = 'http://toolserver.org/~dispenser/cgi-bin/dab_solver.py?page='+mw.config.get('wgPageName'); } addOnloadHook(function { if(mw.config.get('wgNamespaceNumber')==0&&mw.config.get('wgAction')=="view")  {    mw.util.addPortletLink('p-cactions', 'javascript:dabsolve', 'dabsolve', 'ca-dabsolve', 'Run dabsolve-bot on article', '', document.getElementById('ca-dabsolve'));  } }); /*