Manual:$wgDisableHardRedirects

Details
Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link.

Interwiki redirects are, in the default configuration, redirects to other wikis via an interwiki prefix set as local (see Manual:Interwiki).