Difference between revisions of "Powerbase:How to Redirect a Page"

From Powerbase
Jump to: navigation, search
m (document an oddity)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Powerbase:Help}}
 
== How to create a redirect page ==
 
== How to create a redirect page ==
  
 
If you want to redirect traffic going to one page to another page (with a better title, for example), then use the command
 
If you want to redirect traffic going to one page to another page (with a better title, for example), then use the command
 
  <nowiki>#REDIRECT [[pagename]]</nowiki>
 
  <nowiki>#REDIRECT [[pagename]]</nowiki>
at the top of the page. See [http://www.SourceWatch.org/wiki.phtml?title=Richard_Berman&redirect=no Richard Berman] for an example.
+
at the top of the page. See [http://www.powerbase.info/index.php?title=Lord_Levy&redirect=no Lord Levy] for an example.
  
 
IMPORTANT - a redirect will '''not''' work if there is '''any''' text on the page besides the redirect command.  
 
IMPORTANT - a redirect will '''not''' work if there is '''any''' text on the page besides the redirect command.  
  
  <nowiki>#REDIRECT [[Rick Berman]]_</nowiki>
+
  <nowiki>#REDIRECT [[Lord Levy]]_</nowiki>
  
 
will '''not''' work. Watch out for trailing spaces and lines when you create the redirect.
 
will '''not''' work. Watch out for trailing spaces and lines when you create the redirect.
  
 
== Why to create a redirect page ==
 
== Why to create a redirect page ==
*So that links to common synonyms and expansions of unique acronyms will all end up at the same place, such as [[ACSH]] and [[American Council on Science and Health]]
+
*So that links to common synonyms and expansions of unique acronyms will all end up at the same place, such as [[AIPAC]] and [[American Israel Public Affairs Committee]]
 
*Redirecting to one article after consolidating two closely related articles.  If you do this, you should do a little cleaning up by checking the links to the redirected article and making them go straight to the article that is the target of the redirection.
 
*Redirecting to one article after consolidating two closely related articles.  If you do this, you should do a little cleaning up by checking the links to the redirected article and making them go straight to the article that is the target of the redirection.
  
 
== Why not to create a redirect page ==
 
== Why not to create a redirect page ==
If you simply want to rename an article to a new title, please don't just paste it under the new name and make a redirect. This breaks the history of previous edits, and if there's a talk page it won't get moved automatically. Instead, use the [[SpinProfiles:How to rename a page|Move page]] function, which keeps these things intact and makes a redirect for you.
+
If you simply want to rename an article to a new title, please don't just paste it under the new name and make a redirect. This breaks the history of previous edits, and if there's a talk page it won't get moved automatically. Instead, use the [[Powerbase:How to rename a page|Move page]] function, which keeps these things intact and makes a redirect for you.
  
 
== How to edit a redirect page ==
 
== How to edit a redirect page ==
Line 23: Line 24:
 
== Points to bear in mind ==
 
== Points to bear in mind ==
  
'''Follow the "[[wikipedia:principle of least astonishment|principle of least astonishment]]"''': make it clear to the reader that they ''have'' arrived in the right place. Otherwise, the reader will think "hang on ... I wanted to read about ''this''. Why has the link taken me to ''that''?" Note that in many cases, a redirect is a temporary measure: For example, [[John Doyle]] currently redirects to [[Berman & Co.]], but someone may want to eventually create a separate article about John Doyle at some point; in this case, see "how to edit a redirect page" above.
+
Make it clear to the reader that they ''have'' arrived in the right place. Otherwise, the reader will think "hang on ... I wanted to read about ''this''. Why has the link taken me to ''that''?" Note that in many cases, a redirect is a temporary measure: For example, [[Berman and Company]] currently redirects to [[Rick Berman]], but someone may want to eventually create a separate article about Berman and Company at some point; in this case, see "how to edit a redirect page" above.
  
 
'''Don't create "loop links"''': don't link alternative names of an article on the article page itself. So, if "Industry-funded organizations" is a redirect to "Industry-sponsored organizations", don't do this on Industry-sponsored organizations:
 
'''Don't create "loop links"''': don't link alternative names of an article on the article page itself. So, if "Industry-funded organizations" is a redirect to "Industry-sponsored organizations", don't do this on Industry-sponsored organizations:
Line 32: Line 33:
 
'''Multiple links''': Don't link several terms that all go to the same place:
 
'''Multiple links''': Don't link several terms that all go to the same place:
 
: <nowiki>Think tanks and other [[Industry-sponsored organizations]] or [[Industry-funded organizations]] ... </nowiki>
 
: <nowiki>Think tanks and other [[Industry-sponsored organizations]] or [[Industry-funded organizations]] ... </nowiki>
Doing the above makes the reader click two links, only to find that she has loaded the same page twice!
+
Doing the above makes the reader click two links, only to find that they have loaded the same page twice!
  
==Disambiguation==
+
==When several persons or groups share a name==
In the case where several individuals/groups/objects share a name, the redirect can be used to offer the options.  So, if there is John A. Smith and John B. Smith, then a Redirect page for John Smith could look as follows:
+
In the case where several individuals/groups/objects share a name, the redirect can be used to offer the options.  So, if there is John A. Smith and John B. Smith, then a Redirect page for John Smith which shows the option of both John Smiths would be useful. 
  
<nowiki>You can add a bitsy of text here (NB: sometimes it seems that this text is necessary -- and that otherwise the first record is chosen... somehow fixed with this text)
+
Here's an example for [http://www.powerbase.info/index.php/Alan_Johnson Alan Johnson] to give you the idea.
#Redirect [[John A. Smith]] add a bitsy more text here
 
#Redirect [[John B. Smith]]</nowiki>
 
  
The Search term "John Smith" would then provide the options.
+
Our John Smith example would be created by inserting:
 +
 
 +
<nowiki>
 +
#Redirect [[John A Smith]]
 +
#Redirect [[John B Smith]]</nowiki>
 +
 
 +
The Search term "John Smith" would then provide both options.
 +
 
 +
The example for Alan Johnson would have been created by inserting this:
 +
<nowiki>
 +
#Redirect [[Alan Johnson]] (UK Politician)
 +
#Redirect [[Alan Johnson]] (editor Democratiya)</nowiki>
 +
 
 +
...as sometimes further information is needed to be able to distinguish between two different people with the same name.
  
 
== See also: ==
 
== See also: ==
* [[SpinProfiles:How To Edit A Page|How to edit a page]]
+
* [[Powerbase:How To Edit A Page|How to edit a page]]
* [[SpinProfiles:How to Rename (Move) a Page|How to rename a page]]
+
* [[Powerbase:How to Rename (Move) a Page|How to rename a page]]
* Practice editing pages in our [[SpinProfiles:Sandbox|SpinProfiles sandbox]]!
+
* Practice editing pages in our [[Powerbase:Sandbox|Powerbase sandbox]]!
 
 
Acknowledgement: the content of many of the help pages in SpinProfiles have been adapted from Wikipedia.
 
  
[[Category:SpinProfiles Help]]
+
[[Category:Powerbase Help]]
[[Category:SpinProfiles policy and guideline pages]]
 

Latest revision as of 11:46, 8 July 2010

Help Guide

How do I do that?

Getting in touch

Information and resources for contributors

How to create a redirect page

If you want to redirect traffic going to one page to another page (with a better title, for example), then use the command

#REDIRECT [[pagename]]

at the top of the page. See Lord Levy for an example.

IMPORTANT - a redirect will not work if there is any text on the page besides the redirect command.

#REDIRECT [[Lord Levy]]_

will not work. Watch out for trailing spaces and lines when you create the redirect.

Why to create a redirect page

  • So that links to common synonyms and expansions of unique acronyms will all end up at the same place, such as AIPAC and American Israel Public Affairs Committee
  • Redirecting to one article after consolidating two closely related articles. If you do this, you should do a little cleaning up by checking the links to the redirected article and making them go straight to the article that is the target of the redirection.

Why not to create a redirect page

If you simply want to rename an article to a new title, please don't just paste it under the new name and make a redirect. This breaks the history of previous edits, and if there's a talk page it won't get moved automatically. Instead, use the Move page function, which keeps these things intact and makes a redirect for you.

How to edit a redirect page

When you click on a link to a redirect page, you will be redirected automatically to the new page. But what if you want to edit the redirect page, for example, to redirect it somewhere else? To do this, click on the "(redirected from OldPageName)" link at the top of the new page.

Points to bear in mind

Make it clear to the reader that they have arrived in the right place. Otherwise, the reader will think "hang on ... I wanted to read about this. Why has the link taken me to that?" Note that in many cases, a redirect is a temporary measure: For example, Berman and Company currently redirects to Rick Berman, but someone may want to eventually create a separate article about Berman and Company at some point; in this case, see "how to edit a redirect page" above.

Don't create "loop links": don't link alternative names of an article on the article page itself. So, if "Industry-funded organizations" is a redirect to "Industry-sponsored organizations", don't do this on Industry-sponsored organizations:

'''Industry-sponsored organizations''' (or [[Industry-funded organizations]]) ...

Seeing the above makes the reader think that clicking on the "Industry-funded organizations" link leads to more information -- but it doesn't, it leads right back to the very same page!

Multiple links: Don't link several terms that all go to the same place:

Think tanks and other [[Industry-sponsored organizations]] or [[Industry-funded organizations]] ...

Doing the above makes the reader click two links, only to find that they have loaded the same page twice!

When several persons or groups share a name

In the case where several individuals/groups/objects share a name, the redirect can be used to offer the options. So, if there is John A. Smith and John B. Smith, then a Redirect page for John Smith which shows the option of both John Smiths would be useful.

Here's an example for Alan Johnson to give you the idea.

Our John Smith example would be created by inserting:

#Redirect [[John A Smith]] 
#Redirect [[John B Smith]]

The Search term "John Smith" would then provide both options.

The example for Alan Johnson would have been created by inserting this:

#Redirect [[Alan Johnson]] (UK Politician)
#Redirect [[Alan Johnson]] (editor Democratiya)

...as sometimes further information is needed to be able to distinguish between two different people with the same name.

See also: