Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -232,7 +232,7 @@ |
233 | 233 | } |
234 | 234 | // Revision deletion |
235 | 235 | } 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 |
237 | 237 | $ofield = intval( substr( $params[3], 7 ) ); // <ofield=x> |
238 | 238 | $nfield = intval( substr( $params[4], 7 ) ); // <nfield=x> |
239 | 239 | $details .= ': '.RevisionDeleter::getLogMessage( $count, $nfield, $ofield, false ); |