From: Robert Stojnić Date: Wed, 1 Jul 2009 23:37:02 +0000 (+0000) Subject: Revert r51246 for now. It might not be *always* appropriate to show the page creation... X-Git-Tag: 1.31.0-rc.0~41140 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=79bc72e0b05785e8687d5fc62b45caa59d823d54;p=lhc%2Fweb%2Fwiklou.git Revert r51246 for now. It might not be *always* appropriate to show the page creation link, but to be consistent we are going to show for now. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index eb36ac055c..2434964041 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -261,7 +261,7 @@ class SpecialSearch { $wgOut->addHtml( "
" ); // 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 {