From 2897384bee8ed6cee82e202cddbdafa197e3a42f Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 17 Jun 2012 21:56:00 +0200 Subject: [PATCH] fix diff against archived revision deleted version In my opinion, this does not make problems with caching. Change-Id: I637401c92cadc78c1443ffb2e16d03b956c3bfa5 --- includes/specials/SpecialUndelete.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 6f591351a9..611b3b9212 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -921,7 +921,8 @@ class SpecialUndelete extends SpecialPage { "\n" . "" . $diffEngine->generateDiffBody( - $previousRev->getText(), $currentRev->getText() ) . + $previousRev->getText( Revision::FOR_THIS_USER, $this->getUser() ), + $currentRev->getText( Revision::FOR_THIS_USER, $this->getUser() ) ) . "" . "\n" ); -- 2.20.1