Help:Redirect: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
| | | | ||
{{box1 start}} | {{box1 start}} | ||
A '''redirect''' is a page created so that navigation to a given title will take the reader directly to a different page. A redirect is created using the syntax: | A '''redirect''' is a page created so that navigation to a given title will take the reader directly to a different page. A redirect is automatically created when a page is moved and may need to be deleted if appropriate. Redirect pages take up very little server space and are useful for the search function in aiding navigation to the correct page. | ||
A redirect is created using the syntax: | |||
<pre> | <pre> | ||
Line 19: | Line 21: | ||
A page will be treated as a redirect page if its wikitext begins with <code>#REDIRECT</code> followed by a valid wikilink or interwikilink. A space is usually left before the link. (Note that some alternative capitalizations of "REDIRECT" are possible.) | A page will be treated as a redirect page if its wikitext begins with <code>#REDIRECT</code> followed by a valid wikilink or interwikilink. A space is usually left before the link. (Note that some alternative capitalizations of "REDIRECT" are possible.) | ||
Note that a redirect will work as intended (i.e. take the reader directly to the target page) only if the link is to an existing normal page (not a special page) on the same project (English | Note that a redirect will work as intended (i.e. take the reader directly to the target page) only if the link is to an existing normal page (not a special page) on the same project (English BoyWiki). | ||
Examples: | Examples: | ||
* <code><nowiki>#REDIRECT [[ | * <code><nowiki>#REDIRECT [[Apollo (mythology)]]</nowiki></code> (redirects to the [[Apollo (mythology)|Apollo]] article) | ||
* <code><nowiki>#REDIRECT [[ | * <code><nowiki>#REDIRECT [[Apollo (mythology)#Hyacinth]]</nowiki></code> (redirects to the section about [[Apollo (mythology)#Hyacinth|Hyacinth]] in the Apollo article) | ||
* <code><nowiki>#REDIRECT [[fr:France]]</nowiki></code> (appears as a redirect to the [[France]] article on French BoyWiki, but will not work as a true redirect) | * <code><nowiki>#REDIRECT [[fr:France]]</nowiki></code> (appears as a redirect to the [[France]] article on French BoyWiki, but will not work as a true redirect) | ||
Line 39: | Line 41: | ||
|} | |} | ||
{{Boxes end}} | {{Boxes end}} | ||
{{Navbox Help pages|collapsed}} | |||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
[[Category:Help|Help]] | [[Category:Help|Help]] | ||
__NOTOC__ | __NOTOC__ |
Latest revision as of 18:37, 1 November 2015
Help creating redirect pages | |
|