User:Amalthea/File Redlinks.js

//convert Wikipedia:Upload redlinks to proper File links, showing the deletion log and all, just like any other redlink does. for (var i=0; i<document.links.length; i++) { document.links[i].href = document.links[i].href.replace("/wiki/Wikipedia:Upload?wpDestFile=", "/w/index.php?action=edit&title=File:"); }