Template:Links to/doc

{{Links to}} lists all pages that link to a section, and shows a snippet from each page, with the link highlighted. It uses the linksto search parameter to find the pages, and from that a regexp search to find the section's incoming links. (Note that the input to {{links to}} is a section, while the input to the search parameter linksto is a fullpagename.)