Help:Self link
From Wikipedia, the free encyclopedia
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
- This is a discussion of self links that is specific to Wikipedia.
Self links are usually not recommended. One exception is within a text that is transcluded between several pages. Per the Wikipedia: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. [[Wikipedia:Self link#x| ]], showing up as " ".
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 replace the full wikitext of this page with that of the master page at Meta at any time. To view this page in other languages see the master page at Meta.