wfProfileIn( __METHOD__ );
- $page = WikiPage::newFromId( $this->id );
+ $page = WikiPage::newFromId( $this->id, WikiPage::READ_LATEST );
$indexTitle = Title::indexTitle( $this->title->getNamespace(), $this->title->getText() );
foreach ( SearchEngine::getSearchTypes() as $type ) {