From c945156ddedabf8c4f6c947cadb7654f7dba6398 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 29 Mar 2012 02:39:32 +0400 Subject: [PATCH] (bug 35565) Special:Log/patrol doesn't indicate whether patrolling was automatic Change-Id: Ia4d9ffcfda719fd94ac5e01f0e35c4c5823d7d72 --- RELEASE-NOTES-1.19 | 2 ++ includes/logging/LogFormatter.php | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 7a5d50a97e..fa98036abc 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -13,6 +13,8 @@ production. === Changes since 1.19 beta 2 === * Special:Watchlist no longer sets links to feed when the user is anonymous +* (bug 35565) Special:Log/patrol doesn't indicate whether patrolling was + automatic === Changes since 1.19 beta 1 === * (bug 35014) Including a special page no longer sets the page's title to the diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index d3354f53d7..e463c45ab1 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -662,7 +662,6 @@ class PatrolLogFormatter extends LogFormatter { protected function getMessageParameters() { $params = parent::getMessageParameters(); - $newParams = array_slice( $params, 0, 3 ); $target = $this->entry->getTarget(); $oldid = $params[3]; @@ -680,8 +679,8 @@ class PatrolLogFormatter extends LogFormatter { $revlink = htmlspecialchars( $revision ); } - $newParams[3] = Message::rawParam( $revlink ); - return $newParams; + $params[3] = Message::rawParam( $revlink ); + return $params; } } -- 2.20.1