Page MenuHomePhabricator

write tests for diff view for item redirects
Closed, ResolvedPublic

Description

When viewing a diff of an edit that turned an entity into a diff, or vice versa, we should see a sensible diff view. Since the redirect page however does not contain an Entity object, implementing this needs a bit of special case magic.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=5 s=2014-06-17

Details

Reference
bz65585

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:11 AM
bzimport set Reference to bz65585.
bzimport added a subscriber: Unknown Object (MLST).

Also make sure we handle getUndoContent consistently (it should use the same diff as the diff view).

Change 140918 had a related patch set uploaded by Daniel Kinzler:
Test diffs for redirects

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

Change 140918 merged by jenkins-bot:
Test diffs for redirects

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