User:23W/Gadget-ForceSubmitLinks.js

/** * Based off Gadget-ForceEditLinks.js */ function ForceLinksToEdit { var links = document.getElementById('bodyContent').getElementsByTagName('a'); for(var i=0; i<links.length; i++) { if(!links[i].href.match('/w/index.php')) { links[i].href = links[i].href.replace(/(#|$)/, "?action=submit$1"); }   } } $(ForceLinksToEdit);