Page Redirect

From ControlTheoryPro.com

Jump to: navigation, search
Symbol.gif
Page Redirect
Green carrot left.gif
Green carrot.jpg
In order to prevent spam, users must register before they can edit or create articles.


1 How to make a redirect (redirect command)

To redirect page A (the redirecting page) to a different page B (the target page), enter the following redirecting command at the top of the redirecting page.

#REDIRECT [[NAME OF PAGE B]]

For example, to redirect the Cambridge University page (redirecting page) to the University of Cambridge page (target page), edit the Cambridge University page and enter:

#REDIRECT [[University of Cambridge]]

You can also redirect to page sections within an article. See Meta:Help:Redirect#A redirect to an anchor:

#REDIRECT [[University of Cambridge#History]]

Consider that when the target page is displayed, it is likely that the top of the page will not be shown, so the user may not see the helpful "(redirected from... )" text unless they know to scroll back to the top. This is less likely to cause confusion if the redirect is to a heading with the same name as the redirect; see for example "Argument from contingency".

For redirects to a section heading, leave an editor’s note to remind others that the title is linked, so that if the title is altered, the redirect can be changed: for example:

 ==Evolutionary implications==<!-- This section is linked from [[Richard Dawkins]] --> 

A more resilient and proactive approach is to insert an Template:Tl inside the heading, with a copy-paste of the heading's current title; thus, even if the heading is renamed, its original anchor is preserved and your #links will still work. The above example becomes:

 ==Evolutionary implications {{Anchor|Evolutionary implications}}==

A redirect to a changed, misspelled, or otherwise non-existent section name will simply lead to the top of the target article.

1.1 Undesirable redirects

Do not make double redirects (a redirect that points to another redirect); they do not work (to prevent endless looping, a redirect will not "pass through" more than one entry; if someone is redirected to a redirect, the chain stops at the first redirect), they create slow, unpleasant experiences for the reader, and they make the navigational structure of the site confusing.

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

Another type of undesirable redirect is a self-redirect: an article that redirects to itself through a redirect.

1.2 Creating new redirects

You can create a new page in order to make a redirect.

Only the redirect line will be displayed when you save the page.

To go back and edit your redirect after it is working, add ?redirect=no to the end of the URL for your redirect:

http://en.wikipedia.org/wiki/Cambridge_University?redirect=no

If you wish to add a reason, select one of the tags from the Tag column below and add it one space after and on the same line as #REDIRECT [[Wherever]], enclosed in double braces. For example, on the redirect page University of cambridge,

#REDIRECT [[University of Cambridge]] {{R from other capitalisation}} 

That will also add the redirect to the category listed in the Category column below. Note that there must be a space between the end of the redirect code and the template code for this to work properly.

Redirects take effect immediately after saving a page. You may need to clear your cache in order to see these changes.

1.3 Redirect or rename?

If there is an article named, say, Oxford University, and you discover that the title "University of Oxford", although a reasonable alternative designation and search term for the same university, is still a redlink, you can create a page with that title as a new redirect page, redirecting to the page Oxford University. An alternative is instead to rename the Oxford University page to "University of Oxford". This is also called a "page move"; see Help:Moving a page for more detail. A side effect is then that the old page becomes a redirect to the new page.

The following table summarized this schematically, using arrows to indicate who redirects to who:

Old situation:   Oxford University   University of Oxford
New redirect:   Oxford University University of Oxford
Rename/move:   Oxford University University of Oxford

To choose between two such possibilities, the main consideration should be that the preferred title of an article is the most common name for the topic of the article as would normally be used in articles written in English (language). So we prefer "Italy" over "Italia", and "Pope" over "Pope of Rome". However, it is often better to have an article at a well-defined, unambiguous term, with redirects from looser colloquial terms, rather than vice versa. There are many Declarations of Independence, but there is only one United States Declaration of Independence. For more on this, see Wikipedia:Naming conventions.

1.4 Categories for redirect pages

See Wikipedia:Categorizing redirects for situations where categorizing a redirect might be helpful.

Redirects should not normally contain categories that would fit on the target page because it can result in duplicate listings of the same page within a category. Relevant categories should be moved to the main page where the redirect is pointing. In some cases, however, adding categories to a redirect page allows legitimate alternative titles or names to be found in category lists. Redirect pages within categories will appear in italics.

2 Navigating redirects

When a redirected page is linked to normally, the user is taken to a page that is neither the original page nor the page to which it is redirected. Instead, the user is taken to a page that has the content of the destination page with a clickable mention of the redirect at the top, and the URL of the original page. To go to the original page, one can click on the aforementioned link, or append the string &redirect=no to the end of the URL. To go to the actual article, rather than simply viewing the mirror version, click on the "article" or "project page" tab at the top of the page. For instance, clicking on the phrase "clickable mention" above will take you to the "embedded link" page, which is redirected to the "hyperlink" page. Towards the top of the page is the phrase "Redirected from Embedded link", with the words "Embedded link" in blue. Clicking on these words will take you to the actual Embedded link page. Directly above the article title "Hyperlink" at the top of the page is the word "article" in blue. Clicking on this word will take you to the actual Hyperlink page.

3 What do we use redirects for?

Compare the more complete template list in the guideline sub-page: Wikipedia:Template_messages/Redirect_pages and the notations in the corresponding category.

The templates in the following lists are used to classify redirect pages, depending on the reason for the redirect. Use as many of these templates to tag the redirect as are applicable. Some redirects will have both alternative spellings, alternative capitalisations, and perhaps be a redirection to a list article entry or section. In the final analysis, all these templates do is establish a categorization of the redirect page, and like articles, more than one category can – and frequently should – apply.

3.1 Spellings, misspellings, tenses and capitalizations

Reason Usage notes, and text that will be shown on
Previewing the page when applied.
Tag /
Category to find articles so tagged
Abbreviations Template:R from abbreviation Template:Tl

Category:Redirects from abbreviation


Too short for own article


List entry or Section
Category:Redirects to list entriesTemplate:R to list entry
When List is more sectionlike in organization, such as list of fictional characters in a fictional universe.

Template:Tl



Template:T1
Misspellings Template:R from misspelling Template:Tl

Category:Redirects from misspellings

Other spellings, other punctuation Template:R from alternative spelling Template:Tl

Category:Redirects from alternative spellings

Plurals Template:R from plural

Note that [[greenhouse gas]]es shows up as greenhouse gases, so it is not usually necessary to redirect regular plurals. However third-party websites started adding automatic links to Wikipedia from their topics. Many of them follow the opposite naming convention, i.e., topics are named in plural, and the link to Wikipedia may land into an empty page, if there is no redirect.

Template:Tl

Category:Redirects from plurals

Related words Template:R from related word Template:Tl

Category:Redirects from related words

Sub-topics or closely related topics that should be explained within the text Template:R with possibilities Template:Tl
Category:Redirects with possibilities
People who are members of a group, organization, ensemble or team Template:R from member Template:Tl
Category:Redirects from members
<span id="othercapitalization" />Other capitalisations, to ensure that "Go" to a mixed-capitalisation article title is case-insensitive Template:R from other capitalisation

Adding a redirect for mixed-capitalisation article titles (e.g., Isle of Wight) allows going to these articles to be case-insensitive. For example, without the redirect Isle of wight going to "Isle Of wight" or any capitalisation other than exactly 'Isle of Wight' would not find the article Isle of Wight.

Why: Articles whose titles contain mixed-capitalisation words (not all initial caps, or not all lower case except the first word) are found only via an exact case match. (Articles, including redirects, whose titles are either all initial caps or only first word capitalised are found via "Go" using a case-insensitive match.)

Note: Related redirects are needed only if the article title has two or more words and words following the first have different capitalisations. They are not needed, for example, for proper names which are all initial caps.

Examples:

  • Natural Selection redirects to Natural selection
  • Redirect Vice chancellor of austria to Vice-Chancellor of Austria is needed because the Go search is case-sensitive for mixed-caps titles. Adding this redirect allows the article to be found when a user enters "vice chancellor of austria" or "vice chancellor of Austria" as a Go search.
  • No redirect to Francis Ford Coppola is needed because the "Go" command is case-insensitive for an article whose title is all initial caps. Any capitalisation (e.g. "francis fOrD CoPPola") entered as a "Go" will find the article.
Template:Tl

Category:Redirects from other capitalisations

3.2 Alternative names

Reason Usage notes, and text that will be shown on
Previewing the page when applied.
Tag /
Category to find articles so tagged
Other names, pseudonyms, nicknames, and synonyms Template:R from alternative name Template:Tl

Category:Redirects from alternative names

Other names with Historic significance, where subsumed into a modern entity or region. Template:R from historic name

Note that in some cases, the entity can have articles under several names, each discussing the period of the entity's history when it had a particular name; see for example Byzantium, Istanbul and Constantinople. Depending upon the age and historic detail known about a principality, many of these might also be tagged with Template:Tl
Template:Tl

Template:Cat

Scientific names Template:R from scientific name Template:Tl

Category:Redirects from scientific names

Scientific names Template:R to scientific name

This is a redirect from the common name to the scientific name.

Template:Tl

Category:Redirects to scientific names

Other languages Template:R from alternative language Template:Tl

Category:Redirects from alternative languages

Non-ASCII Characters Template:R from ASCII Template:Tl

Category:Redirects from titles with ASCII

Diacritical marks Template:R from title without diacritics Template:Tl

Category:Redirects from title without diacritics

3.3 Miscellaneous and administrative redirects

Reason Usage notes, and text that will be shown on
Previewing the page when applied.
Tag /
Category to find articles so tagged
Facilitate disambiguation Template:R to disambiguation page Template:Tl

Category:Redirects to disambiguation pages

To track statements that date quickly Template:R for as of Template:Tl

Category:Redirects from "As of"

To redirect to decade article Template:R to decade Template:Tl

Category:Redirects to decade

To redirect from a shortcut Template:R from shortcut Template:Tl

Category:Redirects from shortcut

Oldstyle CamelCase links Template:R from CamelCase Template:Tl

Category:Redirects with old history

links autogenerated from EXIF information Template:R from EXIF Template:Tl

Category:Redirects from EXIF information

From school microstub to merge location Template:R from school Template:Tl

Category: Redirects from school articles

3.4 Avoiding broken links on merges

Redirects can be used too avoid breaking of links on article merges. We try to avoid broken links because they are annoying to our readers. Therefore, if you change the layout of some section of Wikipedia, or merge two duplicate articles, always leave redirects in the old location to point to the new location. Search engines and visitors will probably have linked to that page at that url. If the page is deleted, potential new visitors from search engines will be greeted with an edit window. The same is true for anyone who previously bookmarked that page, and so on.

Reason Text that will be shown on
Previewing the page when applied.
Tag /
Category to find articles so tagged
Merges Template:R from merge Template:Tl

Category:Redirects from merges

Duplicated articles Template:R from duplicated article Template:Tl

Category:Redirects from duplicated articles

4 When should we delete a redirect?<span id="crd"/>

Template:Shortcut To delete a redirect without replacing it with a new article, list it on redirects for discussion. See deletion policy for details on how to nominate pages for deletion.

Listing is not necessary if you just want to replace a redirect with an article, or change where it points: see these instructions for help doing this. If you want to swap a redirect and an article, but are not able to move the article to the location of the redirect please use Wikipedia:Requested moves to request help from an admin in doing that.

{{Wikipedia:Redirect/DeletionReasons}}

5 What needs to be done on pages that are targets of redirects?<span id="pla"/>

Template:Shortcut We follow the "principle of least astonishment" — after following a redirect, the reader's first question is likely to be: "hang on ... I wanted to read about this. Why has the link taken me to that?". Make it clear to the reader that they have arrived in the right place.

Normally, we try to make sure that all "inbound redirects" are mentioned in the first couple of paragraphs of the article. For example:

  • James Tiptree, Jr. (August 24, 1915 – May 19, 1987) was the pen name of American science fiction author Alice Bradley Sheldon ...
  • Water (H2O, HOH) is the most abundant molecule ...

If there is an ambiguity associated with a redirect, one of the redirect disambiguation templates may be useful.

Do not cause a secondary redirect. They do not work like a primary redirect; same with tertiary redirects.

6 Self-links, duplicate links

Avoid self-links, including self-links through redirects ("loop links"). Also, avoid having two links that go to the same place. These can confuse readers, and cause them to unnecessarily load the same page twice.

7 Do not "fix" links to redirects that are not broken<span id="notbroken"/>

Template:Shortcut Some editors are tempted, upon finding a link to a redirect page, to remove the redirect and point the link directly at the target page. While there are a limited number of cases where this is beneficial, it is generally an unhelpful exercise.

In many cases where it might seem appropriate to make this change, such as those involving unprintworthy redirects, the better option is to edit the visible text rather than change where the link is pointing. If the linked term is printworthy and presents no other problems to the prose, there is no reason not to just link the term as is. There should almost never be a reason to replace [[redirect]] with [[target|redirect]]. This kind of change is almost never an improvement, and it can actually be detrimental.

Reasons not to change redirects include:

  • Redirects can indicate possible future articles.
  • Introducing unnecessary invisible text makes the article more difficult to read in page source form.

Furthermore, not only are Wikipedia editors asked not to worry about performance, changing redirects to direct links does not significantly improve performance anyway. See also Wikipedia:Tools/Navigation popups/About fixing redirects.

Exceptions:

  • <span id="template link fix"/><span id="template linkfix"/><span id="templatelinkfix"/><span id="TLF"/>It is preferable to change redirected links in navigational templates, such as those found at the bottom of many articles (e.g. Template:Tl on George W. Bush). In this case, when the template is placed on an article, and contains a direct link to that article (not a redirect), the direct link will display in bold (and not as a link), making it easier to navigate through a series of articles using the template.
  • It may be appropriate to make this kind of change if the hint that appears when a user hovers over the link is misleading.

8 Redirecting non-articles

8.1 Template redirects

A template T2 can be redirected to another template T1. This creates an alias (T2 is an alias for T1). The alias name T2 can be used instead of the "real" template T1.

Aliases for templates can cause confusion and make migrations of template calls more complicated. For example, assume calls to T1 are to be changed ("migrated") to some new template TN1. To catch all calls, articles must be searched for {{T1}} and all aliases of T1 (T2 in this case).

8.2 Category redirects

Although it is possible to attempt to redirect categories by adding a line such as #REDIRECT [[:Category:Automotive technologies]] to a category, it is not generally recommended because of limitations in the mediawiki software. Categories "redirected" in this way do not prevent the addition of articles to the redirected category. Articles added to the "redirected" category do not show up as in the target category. Until these issues are addressed (in future versions of the software), #REDIRECT should not be added to category pages.

"Soft" redirects for categories can be created using {{Category redirect}}. A bot traverses categories redirected in this manner moving articles out of the redirected category into the target category, see Template talk:Category redirect.