Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Manual of Style/Linking: Difference between revisions

From EVE University Wiki
Djavin novienta (talk | contribs)
Djavin novienta (talk | contribs)
Line 141: Line 141:


===Redirects===
===Redirects===
{{shortcut|MOS:RDR|MOS:REDIR}}
{{hatnote|See also: [[Wikipedia:Wikipedia:Redirect|Wikipedia:Redirect]]}}
{{Main article|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]] and [[Wikipedia:Redirects with possibilities|Redirects with possibilities]])
*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.)
To link to a redirect page without following the underlying redirect, use <code><nowiki>{{no redirect|PageName}}</nowiki></code>, replacing PageName with the name of the redirect page to link.


===Piped links===
===Piped links===