Index: trunk/phase3/includes/DifferenceEngine.php |
— | — | @@ -439,7 +439,12 @@ |
440 | 440 | function getMultiNotice() { |
441 | 441 | if ( !is_object($this->mOldRev) || !is_object($this->mNewRev) ) |
442 | 442 | return ''; |
443 | | - |
| 443 | + |
| 444 | + if( !$this->mOldPage->equals( $this->mNewPage ) ) { |
| 445 | + // Comparing two different pages? Count would be meaningless. |
| 446 | + return ''; |
| 447 | + } |
| 448 | + |
444 | 449 | $oldid = $this->mOldRev->getId(); |
445 | 450 | $newid = $this->mNewRev->getId(); |
446 | 451 | if ( $oldid > $newid ) { |