Page MenuHomePhabricator

Double-redirect fixer
Open, Needs TriagePublicFeature

Description

Add a simpler way to fix double redirects. Perhaps a button on Special:DoubleRedirects which updates the first redirect to point the 3rd title (if it first checks that there's no other info on the first and second redirects).

The current way is to a) copy the 3rd title, open the first for editing, and enter #REDIRECT [[3rd title]] — this feels like the sort of mechanical edit that shouldn't need a human typist.

Double redirects should also be exposed on the RedirectManager in-edit dialog window (with perhaps a blue dot marker on the toolbar icon when there's a redirect to be fixed).

(The redirect-fixing bot should be mentioned in this task.)

Event Timeline

Related, prevention is better than cure - T326056 would discourage users from creating double redirects by first checking to see if the redirect target is itself a redirect. But maybe a belt and braces approach is required.

There is also

https://www.mediawiki.org/wiki/Manual:$wgFixDoubleRedirects

It is an internal bot called [[User:Redirect fixer]] that fixes double redirects created by page moves. This is not enabled on most (all?) Wikipedias, where bots do this instead. Perhaps this could be adapted to run on any double redirect?