Thread:Project:Support desk/localhost/mediawiki redirects en.wikipedia.org/reply

Disable JavaScript, go to MediaWiki:Common.js and remove the code that performs the redirection. You've imported it along with other stuff.