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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12344, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10344 - MW shouldn't redirect after protecting a redirect
MW shouldn't redirect after protecting a redirect
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
1.11.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links