From 79bc72e0b05785e8687d5fc62b45caa59d823d54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20Stojni=C4=87?= Date: Wed, 1 Jul 2009 23:37:02 +0000 Subject: [PATCH] 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. --- includes/specials/SpecialSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1