Follow-up for r52261, some in-progress stuff sneaked in.
authorRobert Stojnić <rainman@users.mediawiki.org>
Sun, 21 Jun 2009 22:15:39 +0000 (22:15 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Sun, 21 Jun 2009 22:15:39 +0000 (22:15 +0000)
includes/specials/SpecialSearch.php

index 314aab0..eb36ac0 100644 (file)
@@ -261,7 +261,7 @@ class SpecialSearch {
                $wgOut->addHtml( "<div class='searchresults'>" );
                
                // show direct page/create link
-               if( !is_null($t) && ($this->active=='default' || $this->active=='all')  && !$search->isComplexQuery($term) ) {
+               if( !is_null($t) && ($this->active=='default' || $this->active=='all') ) {
                        if( !$t->exists() ) {
                                $wgOut->addWikiMsg( 'searchmenu-new', wfEscapeWikiText( $t->getPrefixedText() ) );
                        } else {