* Populates the search index with content from all pages
*/
protected function populateSearchIndex() {
- global $wgContentHandlerUseDB;
-
$res = $this->db->select( 'page', 'MAX(page_id) AS count' );
$s = $this->db->fetchObject( $res );
$count = $s->count;