Community Central
Community Central
m (revert)
Tag: Help
(Undo revision 3066630 by Student.135754 (wall))
Tag: Help
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
[[File:Redirect_sign.png|250px|border|right]]
 
[[File:Redirect_sign.png|250px|border|right]]
  +
[[File:Redirect example.png|250px|thumb|right|A redirect on Community Central that goes to this page.]]
 
 
A '''redirect''' is a bit of code that forwards the user to a new page.
 
A '''redirect''' is a bit of code that forwards the user to a new page.
   
Line 10: Line 10:
 
* To make a page '''redirect''' to another, first open the page for editing and go to the source editor.
 
* To make a page '''redirect''' to another, first open the page for editing and go to the source editor.
 
* If there is any content on the page, delete it so the page is clear.
 
* If there is any content on the page, delete it so the page is clear.
* Enter the following onto the page (where ''Page title'' is the name of the page you want this one to redirect to):
+
* Enter the following onto the page:
   
 
::<code><nowiki>#redirect [[Page title]]</nowiki></code>
 
::<code><nowiki>#redirect [[Page title]]</nowiki></code>
   
* Save the page.
+
* Publish the page.
  +
  +
Additionally, if you wanted to redirect to a certain section on a page, add a # and the name of the section. This can also be done to redirect to tabs on a [[Help:Tabber|tabber]].
  +
  +
::<code><nowiki>#redirect [[Page title#Section name]]</nowiki></code>
   
 
=== Tips ===
 
=== Tips ===
Line 21: Line 25:
 
* Redirects do not work with external links.
 
* Redirects do not work with external links.
 
* Make sure the redirect code is not wrapped in any other tags, like <code>&#60;nowiki&#62;&#60;/nowiki&#62;</code> tags.
 
* Make sure the redirect code is not wrapped in any other tags, like <code>&#60;nowiki&#62;&#60;/nowiki&#62;</code> tags.
  +
   
 
=== An example ===
 
=== An example ===
Line 30: Line 35:
   
 
== How do I change a redirect? ==
 
== How do I change a redirect? ==
It is possible to change the Darth Vader redirect by editing it. First, try visiting the [[w:c:starwars:Darth Vader|Darth Vader]] page, which redirects to the Anakin Skywalker page. Then, below the title of the page, you will see the text:
+
It is possible to change the Darth Vader redirect by editing it. As an example, trying visiting the "[[w:c:starwars:Darth Vader|Darth Vader]]" page, which redirects to the "Anakin Skywalker" page. Below the title of the page, you will see the text:
   
:<div class="plainlinks">(Redirected from [http://starwars.wikia.com/index.php?title=Darth_Vader&redirect=no Darth Vader])</div>
+
:<div class="plainlinks">(Redirected from [https://starwars.fandom.com/index.php?title=Darth_Vader&redirect=no Darth Vader])</div>
   
Click this "Darth Vader" link to go back to the redirect page at Darth Vader. You can then click "edit" to alter the Darth Vader page as usual (making the redirect link point somewhere else, or replacing it with a new article) like any other page.
+
Click this "Darth Vader" link to go back to the "Darth Vader" redirect page. You can then click "edit" to alter the Darth Vader page as usual (making the redirect link point somewhere else, or replacing it with a new article) like any other page.
   
 
== What is a "double redirect"? ==
 
== What is a "double redirect"? ==
Line 53: Line 58:
 
All text below the first line will be ignored, except for categories. Although this is rarely needed, there are a few circumstances where you might want to categorize redirects.
 
All text below the first line will be ignored, except for categories. Although this is rarely needed, there are a few circumstances where you might want to categorize redirects.
   
A common reason to categorise a redirect is the cache limitations of [[Special:ListRedirects]]. Some communities may have more than 1000 redirects, so the special page would list only the first thousand and stop listing any more after the thousandth redirect in the system.
+
A common reason to categorize a redirect is the cache limitations of [[Special:ListRedirects]]. Some communities may have more than 1000 redirects, so the special page would list only the first thousand and stop listing any more after the thousandth redirect in the system.
   
This can be undesirable for maintenance and organisational purposes (e.g. a title that is very unlikely to be searched may not be found normally), so most communities generally categorize redirects so they can be listed, as a category list is not subject to the cache limitation of a special page.
+
This can be undesirable for maintenance and organizational purposes (e.g. a title that is very unlikely to be searched may not be found normally), so most communities generally categorize redirects so they can be listed, as a category list is not subject to the cache limitation of a special page.
   
 
== See also ==
 
== See also ==
Line 61: Line 66:
 
*[[Help:Special pages|Special pages]]
 
*[[Help:Special pages|Special pages]]
   
== Further Help & Feedback ==
+
== Further help and feedback ==
{{Help and feedback section}}
+
{{Help and feedback section}}[[de:Hilfe:Weiterleitung]]
 
[[Category:Help]]
 
[[Category:Link help]]
 
[[Category:Administration help]]
 
 
[[de:Hilfe:Weiterleitung]]
 
 
[[es:Ayuda:Redirección]]
 
[[es:Ayuda:Redirección]]
 
[[fr:Aide:Redirection]]
 
[[fr:Aide:Redirection]]
Line 77: Line 76:
 
[[pt:Ajuda:Redirecionamento]]
 
[[pt:Ajuda:Redirecionamento]]
 
[[ru:Справка:Перенаправление]]
 
[[ru:Справка:Перенаправление]]
  +
[[tr:Yardım:Yönlendirme]]
 
[[vi:Trợ giúp:Đổi hướng]]
 
[[vi:Trợ giúp:Đổi hướng]]
 
[[zh:Help:重定向]]
 
[[zh:Help:重定向]]
 
[[Category:Help]]
 
[[Category:Link help]]
 
[[Category:Administration help]]

Revision as of 19:20, 11 May 2020

Redirect sign
Redirect example

A redirect on Community Central that goes to this page.

A redirect is a bit of code that forwards the user to a new page.

Creating redirects is helpful when there is more than one possible title for a page, or many different ways a user might search for a topic. Creating redirects for potential titles helps your users find the existing page, and also helps to prevent the accidental creation of duplicate articles.

Redirects are also automatically created when a page is moved, allowing links and users who used the old title to automatically be brought to the new title.

How to create a redirect

  • To make a page redirect to another, first open the page for editing and go to the source editor.
  • If there is any content on the page, delete it so the page is clear.
  • Enter the following onto the page:
#redirect [[Page title]]
  • Publish the page.

Additionally, if you wanted to redirect to a certain section on a page, add a # and the name of the section. This can also be done to redirect to tabs on a tabber.

#redirect [[Page title#Section name]]

Tips

  • Both lower case #redirect or upper case #REDIRECT will work.
  • The #redirect line must be the first line of the page, and lines below it will be ignored.
  • Redirects do not work with external links.
  • Make sure the redirect code is not wrapped in any other tags, like <nowiki></nowiki> tags.


An example

Instead of creating duplicate articles for Darth Vader and Anakin Skywalker on Wookieepedia, you might want links to [[Darth Vader]] and [[Anakin Skywalker]] to point to the same page.

If you want that page title to be "Anakin Skywalker", then "Darth Vader" should be a redirect. The Darth Vader page would contain this:

#redirect [[Anakin Skywalker]]

How do I change a redirect?

It is possible to change the Darth Vader redirect by editing it. As an example, trying visiting the "Darth Vader" page, which redirects to the "Anakin Skywalker" page. Below the title of the page, you will see the text:

Click this "Darth Vader" link to go back to the "Darth Vader" redirect page. You can then click "edit" to alter the Darth Vader page as usual (making the redirect link point somewhere else, or replacing it with a new article) like any other page.

What is a "double redirect"?

A double redirect is a redirect page that points to another redirect page. For example, suppose that "Vader" points to "Darth Vader" which points to "Anakin Skywalker". Then visits to the "Vader" page will be forwarded only once and stop at the "Darth Vader" redirect.

To fix this, click the (Redirected from...) link on the "Darth Vader" redirect page, to go back to the "Vader" redirect. Edit Vader's redirect to point to "Anakin Skywalker".

You can find a list of double redirects by visiting the Special:DoubleRedirects page on your community.

What is a "broken redirect"?

A broken redirect is a redirect page that points to a page that does not exist.

To fix this, click the "Edit" button and redirect the page to one that does exist. (Previewing the edit can help you check if the redirect destination exists.)

You can find a list of broken redirects by visiting the Special:BrokenRedirects page on your community.

Can I put anything else on a redirect page?

All text below the first line will be ignored, except for categories. Although this is rarely needed, there are a few circumstances where you might want to categorize redirects.

A common reason to categorize a redirect is the cache limitations of Special:ListRedirects. Some communities may have more than 1000 redirects, so the special page would list only the first thousand and stop listing any more after the thousandth redirect in the system.

This can be undesirable for maintenance and organizational purposes (e.g. a title that is very unlikely to be searched may not be found normally), so most communities generally categorize redirects so they can be listed, as a category list is not subject to the cache limitation of a special page.

See also

Further help and feedback