Help:Linksearch

Special:Linksearch is one of the special pages. It is an extension installed on Wikimedia wikis.

Using the externallinks table it provides a list of links in external link style from the site on which it is applied, or a selected namespace of it, to a given URL pattern. For each link the source page is provided, and the exact target, both linked.

The URL pattern can be:
 * a whole top-level domain, e.g.
 * a second-level domain, e.g. ; also a third-level domain etc.
 * a full domain name, e.g.
 * a full domain name and any first part of the rest of the URL, e.g.:
 * http://en.wikipedia.org/wiki/Special:Linksearch/en.wikipedia.org/wiki/March_2007%232007_March_1
 * http://en.wikipedia.org/wiki/Special:Linksearch/en.wikipedia.org/wiki/March_2007%232007_March_1
 * http://en.wikipedia.org/wiki/Special:Linksearch/en.wikipedia.org/wiki/March_2007%232007_March_1

Usage of the input box on the special page:
 * "http://" is allowed but not needed
 * a hash character #, indicating a link to an anchor, should be put like that, not coded as %23

Linking to the special page for a specific search: w/index.php?title=Special:Linksearch&target=target_page_name%23anchor_name
 * a hash character # has to be coded as "%23"
 * in this case the required style is
 * In each of the styles

wiki/Special:Linksearch/target_page_name#anchor_name wiki/Special:Linksearch/target_page_name%23anchor_name
 * the anchor is interpreted as anchor of the resulting special page, i.e., it is effectively ignored ("w" and "wiki" can be different on other than Wikimedia wikis).