Revert r51246 for now. It might not be *always* appropriate to show the page creation...
authorRobert Stojnić <rainman@users.mediawiki.org>
Wed, 1 Jul 2009 23:37:02 +0000 (23:37 +0000)
committerRobert Stojnić <rainman@users.mediawiki.org>
Wed, 1 Jul 2009 23:37:02 +0000 (23:37 +0000)
includes/specials/SpecialSearch.php

index eb36ac0..2434964 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') ) {
+               if( !is_null($t) ) {
                        if( !$t->exists() ) {
                                $wgOut->addWikiMsg( 'searchmenu-new', wfEscapeWikiText( $t->getPrefixedText() ) );
                        } else {