User:RansomTime/commentRedir.js

// Temp fix for comment links in RC // Just redirects to comments, not the specific comment - which is good enough for me // If you want to improve it, let me know - this was a quick hack to get rid of the bulk of the annoyance // @ Author RansomTime // As far as I'm concerned you can do what you want with this code, it's just string manipulation // and anyone who knows JS would be able to make it $(function {	if (wgNamespaceNumber && wgNamespaceNumber === 501) {		var targetURL = wgServer + "/wiki/" + wgPageName.slice(0,wgPageName.search("/@")).replace("_comment","");		window.location.href = targetURL;	} });