Page MenuHomePhabricator

MW shouldn't redirect after protecting a redirect
Closed, ResolvedPublic


Proposed patch

After you protect a redirect, you are automatically redirected to its target, which is inconsistent with editing (after you save a redirect, you see its content, not target page) and inconvenient (you often need to add the redirect to [[Category:Protected redirects]] after protecting it). Here is a little patch that fixes it by adding &redirect=no to URL after protecting a redirect.

Version: 1.11.x
Severity: enhancement




Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:50 PM
bzimport set Reference to bz10344.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Fixed in r23304.

I didn't use the patch because there's no point loading the page record just to conditionally add something which is completely harmless to the query string.