Index: trunk/phase3/includes/specials/SpecialMergeHistory.php |
— | — | @@ -434,7 +434,7 @@ |
435 | 435 | function getQueryInfo() { |
436 | 436 | $conds = $this->mConds; |
437 | 437 | $conds['rev_page'] = $this->articleID; |
438 | | - $conds['page_id'] = 'rev_page'; |
| 438 | + $conds[] = 'page_id = rev_page'; |
439 | 439 | $conds[] = "rev_timestamp < {$this->maxTimestamp}"; |
440 | 440 | return array( |
441 | 441 | 'tables' => array('revision','page'), |