From: Brion Vibber Date: Tue, 15 Apr 2008 00:23:06 +0000 (+0000) Subject: only force one index? X-Git-Tag: 1.31.0-rc.0~48327 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=50922641c1b2943ddf237d4471d54b4fd5d37341;p=lhc%2Fweb%2Fwiklou.git only force one index? kinda confused, but domas said :D --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 3000de0016..21acb8fb38 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', 'rc_timestamp', 'rc_user_text' ); + $rcIndexes = array( 'new_name_timestamp' ); } else { - $rcIndexes = array( 'rc_timestamp', 'rc_user_text' ); + $rcIndexes = array( 'rc_timestamp' ); } $conds[] = 'page_id = rc_cur_id'; $conds['page_is_redirect'] = 0;