(bug 35565) Special:Log/patrol doesn't indicate whether patrolling was automatic
authorMax Semenik <maxsem.wiki@gmail.com>
Wed, 28 Mar 2012 22:39:32 +0000 (02:39 +0400)
committerMax Semenik <maxsem.wiki@gmail.com>
Wed, 28 Mar 2012 23:00:19 +0000 (03:00 +0400)
Change-Id: Ia4d9ffcfda719fd94ac5e01f0e35c4c5823d7d72

RELEASE-NOTES-1.19
includes/logging/LogFormatter.php

index 7a5d50a..fa98036 100644 (file)
@@ -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
index d3354f5..e463c45 100644 (file)
@@ -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;
        }
 }