**Author:** `cas`

**Description:**

If one creates a redirect with a named anchor, such as:

Page http://en.wikipedia.org/wiki/Structural_proof_theory contains just "#REDIRECT[[Proof theory#Structural_proof_theory]]"

I expected the behaviour to be, the tag [[Structural proof theory]]

either links to the page [[Proof theory#Structural_proof_theory]]

or to [[Structural_proof theory#Structural_proof_theory]].

In fact it does not work like this, but is instead a link to

http://en.wikipedia.org/wiki/Structural_proof_theory

(ie. with the anchor part stripped out).

This means that redirects cannot be to sections, which restricts the flexibility

in handling merges of material, reduces the accuracy of links into long

articles, encourages the proliferation of stub articles in Wikipedia or short

articles rehearsing parts of material contained in longer articles, perhaps

reduces the longevity of links.

**Version**: 1.3.x

**Severity**: enhancement