Steps to replicate the issue (include links if applicable):
- Go to https://ru.wikipedia.org/wiki/Дмитриев_Иван_Иванович?action=history&uselang=en
- Try to press ‘Page’ or ‘Read’
- The link goes to the redirect target and does not lead you to the actual page you are on.
What should have happened instead?:
Redirect workflows in MediaWiki are currently very hard. Basically any action you normally want to do with a page is done via page tabs. Some projects have templates and other information on the redirect pages. Currently MediaWiki forces them, while working with the redirect pages, to go to the target page, find a pretty small ‘Redirected from X’ link, and go back there to actually do anything.
It would be far better if, on redirect pages, links from page tabs/actions led to the redirect page itself, and not the target page. It would cause less friction since navigating to the target page will still be possible, but if someone is already looking at the history page of a redirect for whatever reason, chances are they want to see the redirect page first when using ‘Page’/‘Read’ tab. This change should not be controversial and would improve UX for people working with redirects.
To clarify, links that do not lead to the current page should not have redirect=no, for example redirect links to talk pages should still lead to redirect target, but tab link ‘Talk’ for redirect talk page should lead to redirect=no if you are looking at its history etc.
Informed in part by T379860: Category pages should be able to link to redirect pages with redirect=no and T379863: Special:WhatLinksHere transclusions should link to redirects with redirect=no.