From: Aaron Schulz Date: Tue, 15 Apr 2008 01:08:04 +0000 (+0000) Subject: Don't make user lookups slow X-Git-Tag: 1.31.0-rc.0~48326 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=d8846c8658c85c21b62daf7267021a5606d00c2e;p=lhc%2Fweb%2Fwiklou.git Don't make user lookups slow --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 21acb8fb38..8b442954d0 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -304,9 +304,9 @@ class NewPagesPager extends ReverseChronologicalPager { $conds['rc_new'] = 1; if( $this->namespace !== false ) { $conds['rc_namespace'] = $this->namespace; - $rcIndexes = array( 'new_name_timestamp' ); + $rcIndexes = array( 'new_name_timestamp', 'rc_user_text' ); } else { - $rcIndexes = array( 'rc_timestamp' ); + $rcIndexes = array( 'rc_timestamp', 'rc_user_text' ); } $conds[] = 'page_id = rc_cur_id'; $conds['page_is_redirect'] = 0;