Revision as of 13:36, 6 October 2009 editRuslik0 (talk | contribs)Edit filter managers, Administrators54,816 edits Undid revision 318239579 by HarryAlffa (talk)No need to overcomplicate this← Previous edit | Revision as of 14:01, 16 October 2009 edit undoHarryAlffa (talk | contribs)1,783 edits Undid revision 318246543 by Ruslik0 (talk)restore overhallNext edit → | ||
Line 1: | Line 1: | ||
A |
A ] is a ] to the page itself. The ] for this ] is converted to text within ] <nowiki><strong></nowiki> tags - "self-link feature" - and will therefore appear as simple bolded text instead of a ]. | ||
This page is in the Help: ]. So examples of the ] for self-links on this page begin with <nowiki>[[Help:</nowiki> | |||
*<nowiki>]</nowiki> gives ] | *<nowiki>]</nowiki> gives ] | ||
*<nowiki>]</nowiki> gives ] | *<nowiki>]</nowiki> gives ] | ||
An ''indirect'' self link is a link to a page that redirects back. In this case, the self-link feature does not work, even though the feature would be equally useful, this is demonstrated here: | An ''indirect'' self link is a link to a page that ] back. In this case, the self-link feature does not work, even though the feature would be equally useful, this is demonstrated here: | ||
*] | *] | ||
Line 10: | Line 12: | ||
==Self-link to a section== | ==Self-link to a section== | ||
For a link to a section of the same article, even from the same section, the self-link feature does not work: ]. | For a link to a section of the same article, even from the same section, the self-link feature does not work: ], but this is desirable, or else you could not link to a section heading from within a page. | ||
==See also== | |||
⚫ | *] | ||
==Misplaced Pages-specific help== | ==Misplaced Pages-specific help== | ||
:''This is a discussion of self links that is specific to Misplaced Pages.'' | :''This is a discussion of self links that is specific to Misplaced Pages.'' | ||
Line 23: | Line 21: | ||
A self link for use with the ] only works if the link is to an existing or non-existing section. If it cannot be made useful as a link to a section, use a ] with a blank space as label, e.g. <nowiki>]</nowiki>, showing up as "]". | A self link for use with the ] only works if the link is to an existing or non-existing section. If it cannot be made useful as a link to a section, use a ] with a blank space as label, e.g. <nowiki>]</nowiki>, showing up as "]". | ||
==See also== | |||
⚫ | *] | ||
* |
*] | ||
*] |
Revision as of 14:01, 16 October 2009
A self link is a wikilink to the page itself. The wikicode for this wikilink is converted to text within HTML <strong> tags - "self-link feature" - and will therefore appear as simple bolded text instead of a hyperlink.
This page is in the Help: Namespace. So examples of the wikicode for self-links on this page begin with [[Help:
- ] gives Help:Self link
- ] gives piped self link
An indirect self link is a link to a page that redirects back. In this case, the self-link feature does not work, even though the feature would be equally useful, this is demonstrated here:
Also, when the prefix for the project itself is added (interwiki link style, but again linking to the page itself) the self-link feature does not work, this is demonstrated here:
- ] gives w:Help:Self link
Self-link to a section
For a link to a section of the same article, even from the same section, the self-link feature does not work: Help:Self link#Self-link to a section, but this is desirable, or else you could not link to a section heading from within a page.
Misplaced Pages-specific help
- This is a discussion of self links that is specific to Misplaced Pages.
Self links are usually not recommended. One exception is within a text that is transcluded between several pages. Per the Misplaced Pages:Manual of Style#Article titles, you should not use self-links to make the article name bold in the first paragraph.
A self link for use with the "Related changes" feature only works if the link is to an existing or non-existing section. If it cannot be made useful as a link to a section, use a piped link with a blank space as label, e.g. ], showing up as " ".