r52262 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52261‎ | r52262 | r52263 >
Date:22:15, 21 June 2009
Author:rainman
Status:ok
Tags:
Comment:
Follow-up for r52261, some in-progress stuff sneaked in.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialSearch.php
@@ -261,7 +261,7 @@
262262 $wgOut->addHtml( "<div class='searchresults'>" );
263263
264264 // show direct page/create link
265 - if( !is_null($t) && ($this->active=='default' || $this->active=='all') && !$search->isComplexQuery($term) ) {
 265+ if( !is_null($t) && ($this->active=='default' || $this->active=='all') ) {
266266 if( !$t->exists() ) {
267267 $wgOut->addWikiMsg( 'searchmenu-new', wfEscapeWikiText( $t->getPrefixedText() ) );
268268 } else {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r52261Preserve formatting even when create article link is absentrainman22:12, 21 June 2009

Status & tagging log