More actions
| Line 141: | Line 141: | ||
===Redirects=== | ===Redirects=== | ||
{{ | {{hatnote|See also: [[Wikipedia:Wikipedia:Redirect|Wikipedia:Redirect]]}} | ||
Let's assume for example you needed to link "poodle", and there was no article for poodles yet. You might want to create a redirect from "poodle" to "dog" as follows: Write the link in the text as if the "poodle" article existed: <code><nowiki>She owned a [[poodle]]</nowiki></code>. When you save or preview this, you will see: {{xt|She owned a [[WP:Red link example|poodle]]}}. Click on the red link to create the redirect page, and enter the code <code><nowiki>#REDIRECT</nowiki></code> followed by a space and a standard wikilink to the target article name (in our case, {{xt|Dog}}). The result should be: <code><nowiki>#REDIRECT [[Dog]]</nowiki></code>. | Let's assume for example you needed to link "poodle", and there was no article for poodles yet. You might want to create a redirect from "poodle" to "dog" as follows: Write the link in the text as if the "poodle" article existed: <code><nowiki>She owned a [[poodle]]</nowiki></code>. When you save or preview this, you will see: {{xt|She owned a [[Wikipedia:WP:Red link example|poodle]]}}. Click on the red link to create the redirect page, and enter the code <code><nowiki>#REDIRECT</nowiki></code> followed by a space and a standard wikilink to the target article name (in our case, {{xt|Dog}}). The result should be: <code><nowiki>#REDIRECT [[Dog]]</nowiki></code>. | ||
The advantage of redirects over [[#Piped links|piped links]] is that they allow us to determine which pages link to the given topic using [[Special:WhatLinksHere]], which in turn allows us to: | The advantage of redirects over [[#Piped links|piped links]] is that they allow us to determine which pages link to the given topic using [[Special:WhatLinksHere]], which in turn allows us to: | ||
*Create a new article when a significant number of links to that topic exist (see [[WP:Don't fix links to redirects that are not broken | *Create a new article when a significant number of links to that topic exist (see [[Wikipedia:WP:Don't fix links to redirects that are not broken|Wikipedia:Don't fix links to redirects that are not broken]]) | ||
*Maintain links (e.g. by filtering incoming links and identifying related articles) | *Maintain links (e.g. by filtering incoming links and identifying related articles) | ||
(There is currently no way to apply Whatlinkshere directly to article sections.) | (There is currently no way to apply Whatlinkshere directly to article sections.) | ||
===Piped links=== | ===Piped links=== | ||