Index: trunk/phase3/includes/logging/LogFormatter.php |
— | — | @@ -372,7 +372,10 @@ |
373 | 373 | $params = parent::getMessageParameters(); |
374 | 374 | $subtype = $this->entry->getSubtype(); |
375 | 375 | if ( in_array( $subtype, array( 'event', 'revision' ) ) ) { |
376 | | - if ( count( $params ) > 5 ) { |
| 376 | + if ( |
| 377 | + ($subtype === 'event' && count( $params ) === 6 ) || |
| 378 | + ($subtype === 'revision' && $params[3] === 'revision' ) |
| 379 | + ) { |
377 | 380 | $paramStart = $subtype === 'revision' ? 4 : 3; |
378 | 381 | |
379 | 382 | $old = $this->parseBitField( $params[$paramStart+1] ); |