Help:Editing: Difference between revisions
→Lists: Removed nonsensical statement and link to obsolete Javascript page |
|||
| Line 16: | Line 16: | ||
===Redirects=== | ===Redirects=== | ||
There are 3 types of redirects: soft redirect, regular redirect and hard redirect. | 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 "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 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. Regular redirects did not exist in <code>wikispaces</code>. | ||
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>. | 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>. Hard redirects worked somewhat differently in <code>wikispaces</code>. | ||
see also | see also | ||