Template:Source links/doc

Use this template to search source wikilinks, similar to User:PrimeHunter/Source links.js, but unlike Special:WhatLinksHere which includes template-generated links.

Usage
This displays a search link for pages which link pagename directly in their own source text with wikilink syntax.

Example
produces with three articles as of 2022.

Special:WhatLinksHere/971 (number) shows around 350 other articles which only contain a link to 971 (number) because they display Template:Integers. WhatLinksHere cannot exclude these articles. The checkbox "Hide transclusions" only hides pages which transclude content from the article 971 (number), and no pages do that. Transclusion is intended for templates and very rarely used on articles.

All template-generated links are omitted, also if the page name is partially or fully in the source text without link syntax. For example. produces the link John Doe. This link will not be found by. If a page has both a source link like  and a template-generated link then the page is found. Piped links like  and section links like   are also found.