Help:Editing: Difference between revisions
No edit summary |
|||
| Line 17: | Line 17: | ||
[[File:wikispaces-redirects-are-red.png|alt=wikispaces-redirects-are-red.png|200px|wikispaces-redirects-are-red.png]] | [[File:wikispaces-redirects-are-red.png|alt=wikispaces-redirects-are-red.png|200px|wikispaces-redirects-are-red.png]] | ||
There are 3 types of redirects: soft redirect, regular redirect and hard redirect. | |||
A "soft redirect" or "smart redirect" is just an ordinary page with the text "See XYZ.", where XYZ is a link to the target of the smart redirect. A smart redirect should not point to another smart redirect - if you see this you should fix it by shortcutting past the second one and making the first redirect point directly to the ultimate target. | |||
A smart redirect should not point to another smart redirect - if you see this you should fix it by shortcutting past the second one and making the first redirect point directly to the ultimate target. | |||
A regular redirect is performed by <code>#REDIRECT [[]]</code>. A double redirect should be fixed by the same method as above, or by replacing it with a hard redirect. | A regular redirect is performed by <code>#REDIRECT [[]]</code>. A double redirect should be fixed by the same method as above, or by replacing it with a hard redirect. | ||
Real or "hard" redirects directly go to the target page without a notice of redirect. Therefore, they should only be used in the case of simple misspellings or alternate spellings. The rule is that if anyone might ever want to flesh the redirect out into its own article, it should not be a hard redirect. Hard redirects can be chained with no problem, which is why they're still appropriate to use for misspellings. The code for a hard redirect in MediaWiki is <code><nowiki>#REDIRECT [[:en:Page title]]</nowiki></code>. | |||
see also | see also | ||