r49409 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49408‎ | r49409 | r49410 >
Date:17:46, 11 April 2009
Author:aaron
Status:ok
Tags:
Comment:
use correct item for count display
Modified paths:
  • /trunk/phase3/includes/LogPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogPage.php
@@ -232,7 +232,7 @@
233233 }
234234 // Revision deletion
235235 } else if ( preg_match( '/^(delete|suppress)\/revision$/', $key ) && count( $params ) == 5 ) {
236 - $count = substr_count( $params[1], ',' ) + 1; // revisions
 236+ $count = substr_count( $params[2], ',' ) + 1; // revisions
237237 $ofield = intval( substr( $params[3], 7 ) ); // <ofield=x>
238238 $nfield = intval( substr( $params[4], 7 ) ); // <nfield=x>
239239 $details .= ': '.RevisionDeleter::getLogMessage( $count, $nfield, $ofield, false );

Status & tagging log