Index: trunk/phase3/includes/specials/SpecialRecentchanges.php |
— | — | @@ -306,7 +306,7 @@ |
307 | 307 | // Is there either one namespace selected or excluded? |
308 | 308 | // Tag filtering also has a better index. |
309 | 309 | // Also, if this is "all" or main namespace, just use timestamp index. |
310 | | - if( is_null($namespace) || $invert || $namespace == NS_MAIN || $opts['tagfilter'] ) { |
| 310 | + if( is_null($namespace) || $invert || $opts['tagfilter'] ) { |
311 | 311 | $res = $dbr->select( $tables, '*', $conds, __METHOD__, |
312 | 312 | array( 'ORDER BY' => 'rc_timestamp DESC', 'LIMIT' => $limit ) + |
313 | 313 | $query_options, |