From 6dfa60cdffbdb2218a1eb850141a76c931394b17 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 13 Apr 2008 20:56:50 +0000 Subject: [PATCH] Actually, the new force index clauses kill the old filesort, so I'll give this a chance --- includes/SpecialNewpages.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index f9c99d5b29..ea1d3d854d 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -100,7 +100,6 @@ class NewPagesForm { } $hidden = implode( "\n", $hidden ); - global $wgMiserMode; $form = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ) . Xml::hidden( 'title', $self->getPrefixedDBkey() ) . Xml::openElement( 'fieldset' ) . @@ -111,7 +110,7 @@ class NewPagesForm { Xml::label( wfMsg( 'namespace' ), 'namespace' ) . " " . - Xml::namespaceSelector( $options['namespace'], $wgMiserMode ? null : 'all' ) . + Xml::namespaceSelector( $options['namespace'], 'all' ) . " @@ -292,8 +291,7 @@ class NewPagesPager extends ReverseChronologicalPager { $this->mForm = $form; $this->mConds = $conds; - global $wgMiserMode; - $this->namespace = (!$wgMiserMode && $namespace === "all") ? false : intval($namespace); + $this->namespace = ($namespace === "all") ? false : intval($namespace); $this->user = $user; $this->hideliu = (bool)$hliu; -- 2.20.1