Help:Editing: Difference between revisions

Xenwolf (talk | contribs)
Using links: added a shortcut
Xenwolf (talk | contribs)
Redirects: updated information to current status
Line 23: Line 23:


=== Redirects ===
=== Redirects ===
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. This kind of redirect were introduced in the Wikispaces era, to make redirects accessible later, for example to flip page titles.
Redirects can be:


A regular redirect is performed by <code><nowiki>#REDIRECT [[Page title]]</nowiki></code>. A double redirect should be fixed be skipping intermediate targets. The page [[Special:DoubleRedirects]] can be used to detect them. Regular redirects did not exist in ''Wikispaces''. This kind of redirect displays a small information message when it was used to get to the current page.
* [[#Regular redirect|regular]]
* [[#Smart redirect|smart]] (definition redirect)
* [[#Soft redirect|soft]] (wikispaces redirect)


A hard redirect directly leads to the target page without a notice of redirect. Therefore, they should only be used in certain cases like common misspellings. 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>; only admins could create or change them, and they could not redirect to a section.
==== Regular redirect ====


see also
A regular redirect is performed by <code><nowiki>#REDIRECT [[Page title]]</nowiki></code>.
* [[Help:Red links]] (Links to non-existing pages)
 
* [https://yahootuninggroupsultimatebackup.github.io/tuning/topicId_101227.html http://groups.yahoo.com/neo/groups/tuning/conversations/topics/101227] - redirects were discussed on the [[tuning_list|tuning list]] in the [[Wikispaces]] era
Redirects can be used to join alternative names (titles, ([https://en.wikipedia.org/wiki/Headword "lemmata"]) for the same thing to reduce duplication.
* [[:Category:soft redirect|list of pages tagged as soft redirect]] - pages that contain only see <tt>[[</tt><nowiki>''some other page''</nowiki><tt>]]</tt> (be cautious with other tags on these)
 
* [[:Category:smart redirect|list of pages tagged as smart redirect]] - pages that have more information (a small definition, classification etc.)
Redirects are also useful to directly link into sections (especially if they have the potential to grow to an article in future).
 
Redirects to redirects should be fixed by skipping intermediate targets. The page [[Special:DoubleRedirects]] can be used to detect them.
 
==== Smart redirect ====
 
A "smart redirect" is a page that has a small definition of a term with a link to a broader presentation of the corresponding area. Don't forget to categorize such a page by placing <code><nowiki>[[Category:smart redirect]]</nowiki></code> at its end.
 
A smart redirect should not point to another smart redirect.
 
See [[:Category:smart redirect]] for a list of pages tagged as smart redirect.
 
==== Soft redirect ====
 
This kind of redirect '''should not be used any more''' and is there for a historical reason only to overcome usability issues on wikispaces (the former wiki platform): editing redirects was restricted to administrators, so normal users could not expand a redirect page into a full article. (See also [https://yahootuninggroupsultimatebackup.github.io/tuning/topicId_101227.html http://groups.yahoo.com/neo/groups/tuning/conversations/topics/101227] for the discussion on the [[tuning_list|tuning list]])
 
The pages (listed in [[:Category:soft redirect]]) can be turned into regular redirects now:
 
* Replace <code><nowiki>See [[Page # section]]</nowiki></code> by <br> <code><nowiki>#REDIRECT [[Page # section]]</nowiki></code>
* and <code><nowiki>[[Category:soft redirect]]</nowiki></code> by a real <br> <code><nowiki>[[Category:&lt;chosen by section contents&gt;]]</nowiki></code>


== Text formatting ==
== Text formatting ==