New redirects open as themselves in the page creation log
Editors who check new pages can now see a newly created redirect itself, instead of being sent to the page it points to.
Before and after


The problem
The page creation log lists every new page on a wiki. Some new pages are redirects, which only forward readers to another page. Clicking such a redirect in the log jumped straight to its target, so you never saw the page that was actually created. On English Wikipedia, about two thirds of the entries in this log are redirects.
What I changed
Links to redirects in the creation log now open the redirect page itself, the same way the move log already does. The log checks whether each page is a redirect when it is shown, so this also works for all the old entries, and the wiki does not have to store anything new. An automatic test checks both a redirect and a normal page.
Where it runs now
Waiting for review on Gerrit (MediaWiki core).
Related contributions
In reviewA Cancel button on the "Add to watchlist?" page
People who watch pages without JavaScript, for example on basic phones, can now change their mind and go back to the page with one click.
