DifferenceEngine: show undo links for non-text content
authordaniel <dkinzler@wikimedia.org>
Fri, 6 Sep 2019 13:58:31 +0000 (15:58 +0200)
committerdaniel <dkinzler@wikimedia.org>
Fri, 6 Sep 2019 13:58:31 +0000 (15:58 +0200)
commit8041b1ff890b20739dbe3fb3fdacf3b7e819fb6d
tree924ff237ca46ae04c068cb5609711694cb23fb2a
parent209f2d220fd90f323fcfa6b303a11ca9344ff8da
DifferenceEngine: show undo links for non-text content

In Ia94521b78 I introduced code that would suppress undo links in diffs
of non-textual content. However, extensions that define non-textual
content, such as Wikibase, may override action handles to provide undo
functionality. So my reasoning for removing these links was flawed.

Bug: T232214
Change-Id: I0316d8c0683b0782b9940e0e1e8f70d5bcb6b468
includes/diff/DifferenceEngine.php