From 81de76382d39b8c9657d7cbbaae34e8891566287 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20Stojni=C4=87?= Date: Sat, 2 Aug 2008 14:56:05 +0000 Subject: [PATCH] Whoops, committed this by mistake. --- 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 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 ); -- 2.20.1