From: Robert Stojnić Date: Sat, 2 Aug 2008 14:56:05 +0000 (+0000) Subject: Whoops, committed this by mistake. X-Git-Tag: 1.31.0-rc.0~46188 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=81de76382d39b8c9657d7cbbaae34e8891566287;p=lhc%2Fweb%2Fwiklou.git Whoops, committed this by mistake. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 56d4f75016..35003598e0 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -278,7 +278,7 @@ class SpecialSearch { function setupPage( $term ) { global $wgOut; if( !empty( $term ) ) - $searchTitle = SpecialPage::getTitleFor( 'Search' ); + $wgOut->setPageTitle( wfMsg( 'searchresults' ) ); $subtitlemsg = ( Title::newFromText( $term ) ? 'searchsubtitle' : 'searchsubtitleinvalid' ); $wgOut->setSubtitle( $wgOut->parse( wfMsg( $subtitlemsg, wfEscapeWikiText($term) ) ) ); $wgOut->setArticleRelated( false );