Education
 

Help:What links here

From Psychology Wiki

This material has been copied over from Wikipedia and needs 'translating' for the Psychology Wiki.

edit reader toc read only this subject

Navigating

Searching, [ Go ]
What links here
Random page
Special pages
Printable version

Tracking

Recent changes
enhanced
Related changes
Watching pages
Page history
Diff
Contributions

Accounts

Logging in
Preferences
User style

Every page has a link labelled "What links here" (or, more generally, labelled with the text in mediawiki:whatlinkshere), also called backlink.

The in-page forms are:

This facility provides a list of all pages in the same project which link to the specified page.

Template:H:new

Before 1.5:

The maximum number to be shown can be specified:

http://psychology.wikia.com/index.php?title=Special:Whatlinkshere/John_Smith&limit=999

The default for this limit is 500, a specified limit of more than 999 is reduced to 999.

Contents

Limitation

Not listed are subpages that just have an automatic link to a page.

Redirects

The 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 transclusion

Whether 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.

  • in the case of a template, referral to it is listed with the text "(inclusion)"
  • a link from A to C counts as such even if the link is not explicit in the wikitext of A, but due to the inclusion of template B, which links to C
  • if template B calls a template that depends on a variable or parameter, then:
    • the question whether A links to C depends on the value of the variable on page A, or the parameter with which A calls B
    • the question whether B links to C depends on the value of the variable on page B; in the case of a parameter, considered from page B, the page does not call a valid template name (it calls one with a name with braces), so B does not link to any valid C

Thus a link from A to C may be due to the inclusion of template 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; some templates can only be found by checking what templates are used in the backlink pages.

Examples:

  • Template:H:f calls Template:h:f {{NAMESPACE}}. Considered by itself that is the unused Template:H:f Template [1], [2]
  • This page Help:What links here links through Template:H:f to Template:H:f Help [3], [4]. This page is therefore a backlink of the latter, but Template:H:f is not listed.

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.

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

Other uses

The backlinks facility works also for a page that does not exist. The What links here button is also on the edit page on which one arrives when following a broken link.

The feature can also be applied to itself and other special pages, e.g. [5], [6], [7], [8].

Links could be put specially for use with "What links here", as an alternative category system, even to non-existing pages, e.g. Altcat:Help 1, see Special:Whatlinkshere/Altcat:Help 1. Putting the wikitext [[Altcat:Help 2| ]] does not provide a link and only produces a blank space (perhaps depending on the browser, here it produces " "), but for "What links here" it works as a link, see Special:Whatlinkshere/Altcat:Help 2. This could be useful for a special-purpose category that should not clutter the regular list of categories a page belongs to (for example, on w:en: there is the requirement that when viewing an article in a category, it is obvious why the article is in the category, and the requirement that the category subject is prominently discussed in the article).

Similarly an empty template can be used: {{:Altcat:Help 3}} displays as "Altcat:Help 3"; see Special:Whatlinkshere/Altcat:Help 3.

Also a link can be provided, alongside the pseudo-link, [[Altcat:Help 2| ]][[Special:Whatlinkshere/Altcat:Help 2|Help 2]] gives " Cat:Help 2", or in the template: {{:Altcat:Help 4}} gives "Altcat:Help 4".

Except in the case that the link is put in the template (it can also be put alongside the template tag), a redirect can specify a supercategory. As opposed to actual categories, the backlinks can show a tree structure: not only pages and subcategories, but also the contents of the subcategories (for each a list of pages and a list of sub-subcategories) and the contents of the sub-subcategories (for each a list of pages and a list of sub-sub-subcategories), but not the contents of the sub-sub-subcategories, up to three levels are shown; see Cat:Help and Cat:Municipalities of the Netherlands.

Community portal · Tasks to do · News · Help

Clinical · Educational · Ind&Org · Other fields · Professional · Transpersonal · World

Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language
Personality | Philosophy | Research Methods | Social | Statistics

Psychology: Debates · Journals · Psychologists


Order

When the link tables in the database are rebuilt, the lists are alphabetically ordered. However, adding a link subsequently causes it to be added to the end, and thus these occur in chronological order.

See also


edit

Wikipedia-specific help

Template:Ph:What links here


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 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.

"What links here" for Help:Main Page

The "What links here" (also written as WhatLinksHere) special pages list the pages on the same site which link to a given page, either the pages in all namespaces, or in a specified one. To see this information, choose the what links here link while looking at any page.

The pages linking to and/or embedding the given page are listed. The list is sorted by page id - that is, by date of creation of the page.

Note: on most wikis, the what links here link can now be found on page footers rather than the sidebar.

Uses

The list of links to an article is useful in a number of ways:

  • It gives a very rough indication of how popular a page is. Pages with many links are likely to be viewed often and should therefore be of the very best quality. Pages with few or no links may not be very popular.
  • Where the subject material of an article is unclear, the list of articles linking to it might provide useful context. For instance when presented with a stub about John Smith that gives only his date of birth and death, viewing the list of links to the article might reveal that he won a gold medal in the Olympics.
  • Facilitates disambiguation.

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. Thus, for example, if film articles are linked to the actors, one can find the films an actor has played in even if there is no article about the actor.

Direct link

To invoke a what links here list directly, use e.g.

[[Special:Whatlinkshere/Help:What links here]]

resulting in Special:Whatlinkshere/Help:What links here".

See also


Smallwikipedialogo.png This page uses content from Wikipedia. The original article was at Help:What links here. The list of authors can be seen in the page history. As with most Wikia wikis, the text of Wikipedia is available under the GNU Free Documentation License.