/** * Precache the user links */ protected function doBatchLookups() { parent::doBatchLookups(); $this->mResult->rewind(); $batch = new LinkBatch(); foreach ( $this->mResult as $row ) { if ( $row->sale_user != 0 ) { $batch->addObj( Title::makeTitleSafe( NS_USER, $row->user_name ) ); } } $batch->execute(); $this->mResult->rewind(); }