CZ:Redirects

From Citizendium
Revision as of 14:08, 4 March 2010 by imported>Peter Schmitt (Some more details)
Jump to navigation Jump to search

A redirect is a page that — when opened — is not shown but automatically opens another page — the target page — instead.

This is achieved by the following wiki markup

#REDIRECT [[Name of target page]]

where "Name of the target page" is the name of the page to which the wiki software will automatically redirect the reader who typed in the name of the redirect page.
However, this only works if the redirect markup is on top of the page.

There are two signs from which the user can recognize that a redirect has taken effect:

  • The title of the page is different from the title of the page searched.
  • On top of the page a (blue) link is shown: "(Redirected from SomePage)".
    Clicking this link will carry back to the page originally searched. (The redirect will not take effect in this case.) The page will show only the redirect, even if the page contains more text.

There is no harm in having many redirects (e.g. from pages with common spelling or even mis-spelling variants) to one target page, though it is often possible to contextualize these pages by turning the redirect page into a CZ:Lemma article which briefly explains the relationship between the two different page names.

Examples

Redirects with definition

The page fMRI redirects to Functional magnetic resonance imaging, which can be visualized via the {{r}} template:

{{r|fMRI}}
{{r|Functional magnetic resonance imaging}}

gives

Lemma article with redirect functionality

The page Haber-Bosch process provides a new perspective on Haber process, which can again be visualized via the {{r}} template:

{{r|Haber-Bosch process}}
{{r|Haber process}}

gives