Page MenuHomePhabricator

pagelinks updated with wrong link on page move [1.5]
Closed, ResolvedPublic

Description

Author: gangleri

Description:
please see http://test.leuksman.com/index.php/Bugzilla_2367

Two examples are shown where A redirects to B redirects to C bot
"''Special:Whatlinkshere/C''" does not list A.

In B and C both LTR and RTL characters are used.
A is in the template namespace wherin B and C are in the project namespace.

Regards Reinhardt


Version: 1.5.x
Severity: normal
URL: http://test.leuksman.com/index.php/Special:Whatlinkshere/Cxeno3

Details

Reference
bz2367

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:33 PM
bzimport set Reference to bz2367.
bzimport added a subscriber: Unknown Object (MLST).

This appears to have nothing to do with RTL.

Steps to reproduce:

  • Create [[Cxeno1]] redirecting to [[Cxeno2]]
  • Create [[Cxeno2]]
  • Rename [[Cxeno2]] to [[Cxeno3]]

Expected results:
Special:Whatlinkshere/Cxeno3 should show incoming redirects via Cxeno2 and Cxeno1.

Actual results:
Special:Whatlinkshere/Cxeno3 shows nothing.
Special:Whatlinkshere/Cxeno2 shows a loop, with a redirect from itself to itself in
addition to the redirect from Cxeno1.

Diagnosis:
Page move appears to be adding a redirect link in pagelinks pointing to the old title
instead of the new title.

Fixed in CVS HEAD.

Wouldn't affect 1.4 as this is a bug in new code in 1.5 from pagelinks table change.

gangleri wrote:

Thanks Brion!

Please verify if
bug 2302: "move a page containing references to itself trough anchors and
Special:Whatlinkshere will fail"
is a duplicate of this bug

Regards Reinhardt

  • Bug 2302 has been marked as a duplicate of this bug. ***