After a page move all redirects which a linking to the moved page have to be updated to the new target.
The problem is only visible with $wgMaxRedirects > 1, because than there a working redirects pointing to the page which are not updated after move and so the redirection is not working proper.
The update of the redirect table is missing.
Thanks.
Steps to reproduce:
- set $wgMaxRedirects = 2;
- create page A with text
- move page A to page B with a redirect
- move page B to page C with a redirect
- visited page A, you get redirect to page B, not to page C
- create page A2 with a redirect to page B (copy the wikitext from page A)
- visited page A2, you get redirect to page C
Version: 1.20.x
Severity: normal