User:Minesweeper.007/redlink.js

//Death to editing on redlinks

function stopRedlinksEditing{ var len=document.links.length; for(var i=0; i<len; ++i) { var l=document.links[i]; if (l.className=='new') { l.href=l.href.replace('&action=edit', ''); }   } } $(stopRedlinksEditing);