Last modified: 2007-06-23 19:39:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10344 - MW shouldn't redirect after protecting a redirect
MW shouldn't redirect after protecting a redirect
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-06-23 18:09 UTC by Max Semenik
Modified: 2007-06-23 19:39 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Proposed patch (650 bytes, patch)
2007-06-23 18:09 UTC, Max Semenik

Description Max Semenik 2007-06-23 18:09:04 UTC
Created attachment 3816 [details]
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.
Comment 1 Rob Church 2007-06-23 19:39:17 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.