Revision: 52665 Author: rainman Date: 2009-07-01 23:37:02 +0000 (Wed, 01 Jul 2009)
Log Message: ----------- 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. Modified Paths: -------------- trunk/phase3/includes/specials/SpecialSearch.php Modified: trunk/phase3/includes/specials/SpecialSearch.php =================================================================== --- trunk/phase3/includes/specials/SpecialSearch.php 2009-07-01 23:32:03 UTC (rev 52664) +++ trunk/phase3/includes/specials/SpecialSearch.php 2009-07-01 23:37:02 UTC (rev 52665) @@ -261,7 +261,7 @@ $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 { _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs