User:Technical 13/Scripts/fileRedlinks.js

( function( mw, $ ) {	$( 'a[href*="File_Upload_Wizard?wpDestFile="]' ).each( function { $( this ).attr( 'href', mw.util.getUrl( $( this ).html, { action: 'edit', redlink: 1 } ) ) } ); } ( mediaWiki, jQuery ) );