r53107 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53106‎ | r53107 | r53108 >
Date:10:28, 11 July 2009
Author:rainman
Status:ok
Tags:
Comment:
Add search term to search-nonefound since wiktionaries want it.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialSearch.php
@@ -313,7 +313,7 @@
314314 $textMatches->free();
315315 }
316316 if( $num === 0 ) {
317 - $wgOut->addWikiMsg( 'search-nonefound' );
 317+ $wgOut->addWikiMsg( 'search-nonefound', wfEscapeWikiText( $term ) );
318318 }
319319 $wgOut->addHtml( "</div>" );
320320 if( $num === 0 ) {

Status & tagging log