Help:Editing: Difference between revisions

Xenwolf (talk | contribs)
m Undo revision 37063 by PiotrGrochowski (talk)
Tag: Undo
Xenwolf (talk | contribs)
slightly reworked text
Line 1: Line 1:
__FORCETOC__
Wikis should be easy to edit, so most text you add or change will appear as you expect it. But you can do more if you want.
Wikis should be easy to edit, so most text you add or change will appear as you expect it. But you can do more if you want.


[https://wikiindex.org/Xenharmonic_Wiki This wiki] is currently in [https://wikiindex.org/Category:LoginToEdit login-to-edit mode] after the move from [[Wikispaces]] to MediaWiki-based installation (the edit mode may change again some time). For editing or adding information to the wiki, you have to join the wiki. See [[How to Get Your Xenwiki Account]] for more!
[https://wikiindex.org/Xenharmonic_Wiki This wiki] is currently in [https://wikiindex.org/Category:LoginToEdit login-to-edit mode] after the move from [[Wikispaces]] to a MediaWiki-based installation (the edit mode may change again some time). For editing or adding information to the wiki, you have to join it. See [[How to Get Your Xenwiki Account]] for more!


== Using links ==
== Using links ==
Line 13: Line 11:


=== Link text ===
=== Link text ===
''tbd''
The link text should ideally relate to the link target, try to avoid "[[help:here-links|here]]" links.
 
The link text should relate to the link target, don't use "[[help:here-links|here]]".


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


A regular redirect is performed by <code><nowiki>#REDIRECT [[Page title]]</nowiki></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>. This kind of redirect displays a small information message when it was used to display the current page.
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.


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>; only admins could create or change them, and they could not redirect to a section.
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.


see also
see also
Line 35: Line 31:


=== Emphasis ===
=== Emphasis ===
Some typographic markup can easy be added by including the phrase in doubled <code>''</code> or tripled <code>'''</code> (apostrophe chars):
Some typographic markup can easy be added by including the phrase in doubled <code><nowiki>''</nowiki></code> or tripled <code><nowiki>'''</nowiki></code> (apostrophe chars):


* ''italic'' using <nowiki>''italic''</nowiki>
* ''italic'' using <nowiki>''italic''</nowiki>