Last modified: 2011-03-13 18:06:50 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 T14606, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12606 - Disable automatic redirection.
Disable automatic redirection.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-13 02:09 UTC by Navou
Modified: 2011-03-13 18:06 UTC (History)
4 users (show)

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


Attachments

Description Navou 2008-01-13 02:09:17 UTC
Request feature for the addition of an option in Special:Preferences to disable automatick redirecting when presented with #REDIRECT [[target]].
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-01-13 02:19:56 UTC
Uh, why?  This would kind of severely screw up site navigation, since redirects are supposed to be transparent.  It seems only very marginally useful at best, and so it's not the kind of thing we'll put in Special:Preferences.  The bar for new preferences is very high to avoid clutter.  You can achieve the same effect by using Greasemonkey or JavaScript or whatever to rewrite all URLs to have redirect=no, if you really want this.  Clearly WONTFIX, sorry.
Comment 2 Aaron Schulz 2008-01-13 02:27:52 UTC
(In reply to comment #1)
> Uh, why?  This would kind of severely screw up site navigation, since redirects
> are supposed to be transparent.  It seems only very marginally useful at best,
> and so it's not the kind of thing we'll put in Special:Preferences.  The bar
> for new preferences is very high to avoid clutter.  You can achieve the same
> effect by using Greasemonkey or JavaScript or whatever to rewrite all URLs to
> have redirect=no, if you really want this.  Clearly WONTFIX, sorry.
> 

Seconded.
Comment 3 Navou 2008-01-13 05:31:43 UTC
To answer your question, it would help me when I'm fixing redirects.  Not seeing how it would screw up navigation if the preference was to transparently redirect and the user would have to set pref to disable.  Avoiding clutter would be adding the tick box to diable the function.  It would be useful if it could be coded.
Comment 4 Daniel Friesen 2008-01-13 07:11:30 UTC
Fixing redirects in what way?

To aid in fixing redirects the correct thing to do is not an ability to disable redirects, but to have &redirect=no appended to urls in links that they are expected to be. Such as how MediaWiki 1.12 introduced that on [[Special:Movepage]] so that you could jump to an actual redirect instead of the redirect page.

If you are that desperate to have redirects disabled for yourself, just add something like this to your [[Special:Mypage/monobook.js|User:Username/monobook.js]]:
if( !location.href.match( /[&?]redirect=no/ ) ) {
    location.href += ( location.href.match( /?/ ) ? '&' : '?' ) + 'redirect=no';
}
Comment 5 Roan Kattouw 2008-01-13 20:50:57 UTC
When following a redirect, there's a small text above the page saying "(Redirected from [[Foo]])". Clicking on the Foo link takes you to the redirect itself.

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


Navigation
Links