From: Ilmari Karonen Date: Sun, 2 Jul 2006 23:07:02 +0000 (+0000) Subject: capitalization, spacing (thanks robchurch) X-Git-Tag: 1.31.0-rc.0~56452 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=f3d4d5ed5bd83b4b400ea180837eb85c5913e9ae;p=lhc%2Fweb%2Fwiklou.git capitalization, spacing (thanks robchurch) --- diff --git a/includes/AjaxFunctions.php b/includes/AjaxFunctions.php index 7ee4a3ef43..4387a607a3 100644 --- a/includes/AjaxFunctions.php +++ b/includes/AjaxFunctions.php @@ -136,7 +136,7 @@ function wfSajaxSearch( $term ) { $more = ''; } - $subtitlemsg = ( Title::newFromtext($term) ? 'searchsubtitle' : 'searchsubtitleinvalid' ); + $subtitlemsg = ( Title::newFromText($term) ? 'searchsubtitle' : 'searchsubtitleinvalid' ); $subtitle = $wgOut->parse( wfMsg( $subtitlemsg, wfEscapeWikiText($term) ) ); $term = htmlspecialchars( $term ); diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index 9a26ad1aa8..4db27e87e7 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -221,7 +221,7 @@ class SpecialSearch { function setupPage( $term ) { global $wgOut; $wgOut->setPageTitle( wfMsg( 'searchresults' ) ); - $subtitlemsg = ( Title::newFromtext($term) ? 'searchsubtitle' :'searchsubtitleinvalid' ); + $subtitlemsg = ( Title::newFromText($term) ? 'searchsubtitle' : 'searchsubtitleinvalid' ); $wgOut->setSubtitle( $wgOut->parse( wfMsg( $subtitlemsg, wfEscapeWikiText($term) ) ) ); $wgOut->setArticleRelated( false ); $wgOut->setRobotpolicy( 'noindex,nofollow' );