Edit section links in a redirected template don't follow redirection, but point
to (nonexistent) sections in the redirect page instead.
Steps to reproduce:
- create template A containing at least one section title.
- move template to B
- transclude A into a page
The  link next to the title of the transcluded section will point to a
section of template A; if you click on the link, you will get an error message
saying the section does not exist.
Either the link should point to the corresponding section of template B in the
first place, or you should be redirected to editing that section upon clicking
on the link.