From f43688d76a892f2f16fd6ca377a23c5b25bee038 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 27 Mar 2009 10:20:53 +0000 Subject: [PATCH] Fix r48837: Add target param back, still needed in some places --- includes/LogEventsList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 19900b4102..5669b9766e 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -297,8 +297,8 @@ class LogEventsList { 'diff='.intval($Ids[0])."&unhide=1&token=$token" ); } // View/modify link... - $revert[] = $this->skin->makeKnownLinkObj( $revdel, - $this->message['revdel-restore'], "$key=$query" ); + $revert[] = $this->skin->makeKnownLinkObj( $revdel, $this->message['revdel-restore'], + 'target='.$title->getPrefixedUrl()."&$key=$query" ); // Pipe links $revert = '(' . implode(' | ',$revert) . ')'; } -- 2.20.1