OverviewThe pages linking to and/or embedding the given page are listed. This info comes from the pagelinks table and the templatelinks table. The pages embedding the given page are marked with "inclusion"; for these pages it is not shown whether they also link to the given page. This can be seen with query#backlinks. The What links here facility can be used to see which other articles contain links to one you are interested in. To see this information, choose the what links here link while looking at any page. A list of articles which links to the specified page are displayed chronologically, from old at the top to most recently linked at the bottom. The list of links to an article is useful in a number of ways:
This facility works also for a page that does not exist (there may be links to it, which makes it extra useful to create it). The What links here button is also on the edit page on which one arrives when following a broken link. To invoke a what links here list directly, use e.g. [[w:Special:Whatlinkshere/John Smith]] resulting in w:Special:Whatlinkshere/John_Smith. LimitationNot listed are subpages that just have an automatic link to a page. RedirectsThe backlinks feature shows which backlinks are redirects. The backlinks of the redirect are also shown, and if they include a redirect, the backlinks of that also (not more). This makes it a useful tool for finding double redirects, which do not work, and, except in special applications (see below) can better be replaced by redirects to the final target. Cases of inclusionWhether there is a link from A to C is relevant for backlinks as well as Related changes. If C does not exist, only backlinks are applicable.
Thus a link from A to C may be due to the inclusion of B, even when B, considered by itself, does not link to C. Thus, to find out what templates cause pages to link to C, it is not sufficient to check for templates in the backlinks of C. If some pages link to C due to the inclusion of B, it is more convenient if B is in the list of backlinks of C. One can assure this by putting an appropriate example of usage of B on page B, inside noinclude tags (B includes B, but without recursion). Otherwise a page like B, which causes pages which include B to link to C, can only be found by looking for pages which directly or indirectly are included in these backlink pages of C. Examples:
Even without a template name depending on a variable or parameter, if page A links to page C due to the inclusion of template B1 which redirects to B2, which links to C, A is in the list of backlinks of C but B1 is not. Summarizing, for the purpose of backlinks and Related changes, A links to C if there is, in that order, a chain of template calls, a single redirect, template calls, a single redirect, etc., template calls, and a chain of redirects. If a page is conditionally embedded through #if, #ifeq, #ifexist, #ifexpr, or #switch, it is counted as embedded, even if the condition is not fulfilled If on page A the name of an embedded page is time-dependent, e.g. {{abc{{CURRENTDOW}}}}, currently giving Template:Abc4, the "What links here" list of one of the possibly embedded pages shows page A: the current one, or, depending on caching issues, perhaps an older one. Thus, although the same functionality is obtained with {{#switch:{{CURRENTDOW}}|0={{abc0}}|1={{abc1}}|..}}, these methods differ in whether the seven templates all count as embedded, or just one. In the case of an image, using it in a page is listed in the third section of the image description page, but not in "What links here" of that page Order; query"What links here" sorts by page id, i.e., by date of creation of the page. Comparison with Query#backlinks and Query#embeddedin: Compare Special:Whatlinkshere/Template:T with http://meta.wikimedia.org/w/query.php?what=backlinks|embeddedin&titles=template:t&bllimit=500&eilimit=500&blfilter=all&eifilter=all Differences demonstrated:
Another difference:
In-page list of backlinksWith the extension Semantic MediaWiki (SMW) links are categorized by specifying relations. For a given relation the backlinks of a page can be produced in-page. A series of queries, one for each relation (which seems cumbersome but can be put in a template like [5]), provides an in-page list of backlinks sorted by relation. Moreover, forward links and attributes of the resulting pages can also be provided, and also backlinks of backlinks. See alsoWikipedia-specific helpThe new feature Dynamic Page List for categories is not yet available on Wikipedia. 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:What links here. For Wikipedia-specific issues, use Template:Ph:What links here (the extra text at the bottom of this page) or Template:Phh:What links here 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.
| |