Steps to replicate the issue (include links if applicable):
- Go to a page, e.g. https://test.wikipedia.org/wiki/Main_Page?useskin=vector-2022
- In the search box type in exactly: Anchor Link Test
What happens?:
You see the result of the exact match of the redirect, instead of the redirect title (see image below)
What should have happened instead?:
You should see the title you matched, and clicking it should take you to the destination of the redirect, including anchor parameters.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
WMF PROD
Other information (browser name/version, screenshots, etc.):
See also T346093 which may be the same issue