ids as $id ) { $timestamps[] = $db->timestamp( $id ); } return $db->select( 'archive', Revision::selectArchiveFields(), array( 'ar_namespace' => $this->title->getNamespace(), 'ar_title' => $this->title->getDBkey(), 'ar_timestamp' => $timestamps ), __METHOD__, array( 'ORDER BY' => 'ar_timestamp DESC' ) ); } public function newItem( $row ) { return new RevDelArchiveItem( $this, $row ); } public function doPreCommitUpdates() { return Status::newGood(); } public function doPostCommitUpdates() { return Status::newGood(); } }