Manual:$wgMaxRedirectLinksRetrieved

Details
Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.