Help:Self link
From Wikipedia, the free encyclopedia
This is a copy of the master help page at Meta. Do not edit this copy.
Edits will be lost in the next update from the master page. See below for more information.
Template:Phh:Self link A self link is a link to the page itself. It appears as bold text when the article is viewed ("self-link feature"). Examples:
- [[Help:Self link]] gives Help:Self link
- [[Help:Self link|piped 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 here; if you are viewing the master copy on Meta of this help page then 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; if you are viewing the master copy on Meta of this help page then this is demonstrated here:
- [[m:Help:Self link]] gives m:Help:Self link
Contents |
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.
See also
edit |
Wikipedia-specific help
- For the main help page on self links, see Help:Self link.
This is a discussion of self links that is specific to Wikipedia.
A self link for use with Related Changes 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. [[Wikipedia:Self link#x| ]], showing up as " ".
Do not use self-links to make the article name bold in the first paragraph; see the Manual of Style.
See also
This page is a copy of the master help page at Meta (for general help information all Wikimedia projects can use), with two Wikipedia-specific templates inserted. To update the main text, edit the master help page for all projects at m:Help:Self link. For Wikipedia-specific issues, use Template:Ph:Self link (the extra text at the bottom of this page) or Template:Phh:Self link for a Wikipedia-specific lead (text appears at the top of this page). You are welcome to copy the exact wikitext from the master page at Meta and paste it into this page at any time. To view this page in other languages see the master page at Meta.