Page MenuHomePhabricator

Moving a page over the redirect leaves an abandoned row in the revision table
Closed, ResolvedPublic

Description

when one moves a page some revision may gone away. exaple : https://en.wikipedia.org/wiki/WOLV

Event Timeline

Matanya raised the priority of this task from to Unbreak Now!.
Matanya updated the task description. (Show Details)
Matanya added a subscriber: Matanya.

Could you be more specific? There's no obvious inconsistency in the revision history of the WOLV page.

I think the issue here is that if you move a page over a redirect, the old redirect is gone forever, rather than being moved to the archive table.

Change 225284 had a related patch set uploaded (by Brion VIBBER):
Fix old, old bug with moving over redirects

https://gerrit.wikimedia.org/r/225284

Ok, patch above *seems* to work but it's midnight and I had some tequila earlier, so please review carefully. ;)

Legoktm renamed this task from redirects and moves make revisions disapper to Moving a page over the redirect leaves an abandoned row in the revision table.Jul 19 2015, 4:22 PM
Legoktm assigned this task to brion.
Legoktm lowered the priority of this task from Unbreak Now! to Medium.

Lowered priority since this bug has been around since 2004 and probably isn't that huge of a deal.

brion removed brion as the assignee of this task.Sep 2 2015, 8:04 PM

Removing assignment from some tasks I'm not actively working on. Volunteers welcome, I'm happy to help if pinged!

@brion: I don't know if it is already included, but I think it would be useful to have an own log_action for this situation.

@brion: I don't know if it is already included, but I think it would be useful to have an own log_action for this situation.

Note this will produce a deletion log entry as well as a move log
entry. This may scare people.

Change 225284 merged by jenkins-bot:
MovePage: Fix old, old bug with moving over redirects

https://gerrit.wikimedia.org/r/225284

Tgr added a subscriber: Tgr.

@brion: I don't know if it is already included, but I think it would be useful to have an own log_action for this situation.

Yeah that would be nice. Filed T145991.