CZ:Redirects: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Peter Schmitt
(Some more details)
imported>Peter Schmitt
(some remarks -- redirects are easy but use them with care)
Line 15: Line 15:
* On top of the page a (blue) link is shown: "(Redirected from SomePage)". <br> 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.
* On top of the page a (blue) link is shown: "(Redirected from SomePage)". <br> 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.
'''Remarks'''
 
* Technically, there is no harm in having many redirects (e.g. from pages with common spelling or even mis-spelling variants) to one target page. <br> Nevertheless, redirects should be used with care and usually be only put on pages with legitimate titles. <br> One reason is that an author using an incorrect link will not be warned by a red link if a redirect is present. <br> Another reason is that users should learn (by practice) the naming conventions of the site (e.g., singular vs. plural).
 
* In most cases it is not necessary to redirect uppercase/lowercase variants of a title since "Go" is not case sensitive and will find them (at least for not too long titles). <br> (The interwiki links, however, are case sensitive, except for the first letter.)
 
* Instead of using a redirect, 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. This may be particularly useful in cases where the reason for the redirect is not obvious.


==Examples==
==Examples==

Revision as of 14:35, 4 March 2010

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.

Remarks

  • Technically, there is no harm in having many redirects (e.g. from pages with common spelling or even mis-spelling variants) to one target page.
    Nevertheless, redirects should be used with care and usually be only put on pages with legitimate titles.
    One reason is that an author using an incorrect link will not be warned by a red link if a redirect is present.
    Another reason is that users should learn (by practice) the naming conventions of the site (e.g., singular vs. plural).
  • In most cases it is not necessary to redirect uppercase/lowercase variants of a title since "Go" is not case sensitive and will find them (at least for not too long titles).
    (The interwiki links, however, are case sensitive, except for the first letter.)
  • Instead of using a redirect, 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. This may be particularly useful in cases where the reason for the redirect is not obvious.

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