Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -254,7 +254,9 @@ |
255 | 255 | |
256 | 256 | // Get all page IDs |
257 | 257 | $this->addWhereFld('page_id', array_keys($titles)); |
258 | | - |
| 258 | + // Every time someone relies on equality propagation, god kills a kitten :) |
| 259 | + $this->addWhereFld('rev_page', array_keys($titles)); |
| 260 | + |
259 | 261 | if(!is_null($params['continue'])) |
260 | 262 | { |
261 | 263 | $cont = explode('|', $params['continue']); |