User:Writ Keeper/Scripts/noAutoRedir.js

$(document).ready(function {	$("a.mw-redirect").each(function {		var currentUrl = $(this).attr("href"); var regexResults = /\/wiki\/(.+)$/.exec(currentUrl); if(regexResults != null) {			$(this).attr("href","/w/index.php?title=" + regexResults[1] + "&redirect=no"); }	}); });