Difference between revisions of "Help:Links"
From The Utopian Encyclopedia
m |
m |
||
Line 13: | Line 13: | ||
*<nowiki>[[a|b]]c<</nowiki>nowiki>d</nowiki> gives [[a|b]]c<nowiki>d</nowiki>. | *<nowiki>[[a|b]]c<</nowiki>nowiki>d</nowiki> gives [[a|b]]c<nowiki>d</nowiki>. | ||
− | The link target is case-sensitive except for the first character (so [[atom]] links to [[Atom]], but [[ATom]] does not). If the target contains a [[Help:Namespace|namespace]] prefix, then the prefix and the first character after the colon are case-insensitive (so [[uSeR: | + | |
+ | The link target is case-sensitive except for the first character (so [[atom]] links to [[Atom]], but [[ATom]] does not). If the target contains a [[Help:Namespace|namespace]] prefix, then the prefix and the first character after the colon are case-insensitive (so [[uSeR:your MOM]] links to [[User:Your Mom]]). | ||
+ | |||
Attempting to link normally to an [[WP:Image|image]] page or a [[WP:Category|category]] page will produce a different effect: it will place the image on the page, add the page to the category or create an interlanguage link at the edge of the page. To override this behavior, add an initial colon, as in <code><nowiki>[[:Category:Help]]</nowiki></code>, <code><nowiki>[[:fr:Help:Link]]</nowiki></code>, <code><nowiki>[[:Image:Mediawiki.png]]</nowiki></code>. | Attempting to link normally to an [[WP:Image|image]] page or a [[WP:Category|category]] page will produce a different effect: it will place the image on the page, add the page to the category or create an interlanguage link at the edge of the page. To override this behavior, add an initial colon, as in <code><nowiki>[[:Category:Help]]</nowiki></code>, <code><nowiki>[[:fr:Help:Link]]</nowiki></code>, <code><nowiki>[[:Image:Mediawiki.png]]</nowiki></code>. |
Revision as of 01:16, 6 July 2009
Internal Links
A wikilink or internal link links a page to another page within English Wikipedia.
- [[a]] gives a (link to a, labeled a).
- [[a|b]] gives b (link to a, labeled b).
- [[a]]b gives ab, just like [[a|ab]] does: ab.
- [[a|b]]c gives bc, just like [[a|bc]] does: bc.
- [[a]]:b gives a:b (punctuation is not appended to the link).
- a[[b]] gives ab.
- [[a]]<nowiki>b</nowiki> gives ab.
- [[a]]''b'' gives ab.
- ''[[a]]''b gives ab.
- [[a|b]]c<nowiki>d</nowiki> gives bcd.
The link target is case-sensitive except for the first character (so atom links to Atom, but ATom does not). If the target contains a namespace prefix, then the prefix and the first character after the colon are case-insensitive (so uSeR:your MOM links to User:Your Mom).
Attempting to link normally to an image page or a category page will produce a different effect: it will place the image on the page, add the page to the category or create an interlanguage link at the edge of the page. To override this behavior, add an initial colon, as in [[:Category:Help]]
, [[:fr:Help:Link]]
, [[:Image:Mediawiki.png]]
.
External Links