WikiQueer:Double redirects



A redirect is a page that automatically causes the text of another page to be displayed in its place. A redirect that points to another redirect is called a double redirect. These pages are unwanted, because WikiQueer's MediaWiki software will not follow the second redirect, in order to prevent infinite loops (to prevent endless looping, a redirect will not "pass through" more than one entry; if someone is redirected to a redirect, the chain stops after the first redirect). These situations create slow, unpleasant experiences for the reader, waste server resources, and make the navigational structure of the site confusing.

Double redirects are usually created after a move when old redirects are left unchanged and pointing towards an old name.

How to fix a double redirect

 * Suppose page title A (Morchella esculenta in the example to the right) redirects to B (Morel) which in turn redirects to C (Morchella).
 * Upon following the link to A, you will see, as illustrated, a page containing:
 * (a) the page title B;
 * (b) a large link to C;
 * (c) a small notice saying "Redirected from A"
 * Click the "A" in "redirected from A".
 * You will see a page containing:
 * (a) the page title A;
 * (b) a large link to B.
 * Click "Edit this page" and change B to C.

Lists
Current list:
 * Special:DoubleRedirects
 * alternate link showing 1000 entries: Special:DoubleRedirects (1000)

Checking for double redirects
Suppose you want to check whether there are any double redirects to page C. Go to page C and click "What links here" (usually the first link in the "Toolbox" on the lefthand side of the page). Double (or multiple) redirects are those pages which appear in the list with both of these properties: Note that if you've just moved page C, then there might be only one page which is not indented, (the page at the top of the list), and everything else might be indented at least one level.
 * Indented at least one level in comparison to the page at the top of the list, AND
 * Labelled "(redirect page)".

Once all double redirects have been fixed, the "What links here" page will have only three types of pages listed:
 * 1) Direct links from ordinary pages (not indented, not labelled "(redirect page)").
 * 2) Direct links from redirect pages (not indented; labelled "(redirect page)").
 * 3) Indirect links from ordinary pages (indented one level, not labelled "(redirect page)").

The first and third categories do not need to be fixed – see WikiQueer:Redirect.

When MediaWiki won't automatically follow a redirect
MediaWiki will not follow a redirect if:


 * there are double redirects
 * it is a redirect to a Special page
 * it is a redirect to a non-existent page