Last modified: 2014-05-09 12:31:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32359, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30359 - redirects to a page not updated after move
redirects to a page not updated after move
Status: NEW
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
1.20.x
All All
: Low normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 33520 (view as bug list)
Depends on:
Blocks: 63388 65064
  Show dependency treegraph
 
Reported: 2011-08-13 09:04 UTC by Umherirrender
Modified: 2014-05-09 12:31 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2011-08-13 09:04:18 UTC
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
Comment 1 Roan Kattouw 2011-08-13 11:45:18 UTC
This is one of the reasons why I thought allowing multiple redirects was a bad idea.

However, we should NOT update the redirect table such that A->C, because that will break things if B is edited to be a redirect to D. Instead, the redirect table should continue saying A->B and B->C, and the redirect resolution code should follow both redirects rather than stopping after the first one.
Comment 2 Bawolff (Brian Wolff) 2012-03-04 03:16:53 UTC
*** Bug 33520 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links