Steps to reproduce:
- Go to an article on the English Wikipedia
- Open link inspector
- Search for "Main page"
Expected:
- "Main Page" is first result
Actual:
- "Home page" is the first result
The reason I say that I expect "Main Page" to be the first result is that if I inspect the API query that VisualEditor is using, it shows "Main Page" is the first result in the redirect set at the start. I assume VisualEditor is not handling these redirects correctly; search for "Main Page" (including the quotes) in the response to see what I mean.