* Now passing msg:search as the third paramater to googlesearch
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 29 Apr 2005 18:44:24 +0000 (18:44 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 29 Apr 2005 18:44:24 +0000 (18:44 +0000)
includes/SpecialSearch.php

index 70341e8..2145c0b 100644 (file)
@@ -151,9 +151,13 @@ class SpecialSearch {
                        }
                        global $wgInputEncoding;
                        $wgOut->addHTML( wfMsg( 'searchdisabled' ) );
-                       $wgOut->addHTML( wfMsg( 'googlesearch',
-                               htmlspecialchars( $term ),
-                               htmlspecialchars( $wgInputEncoding ) ) );
+                       $wgOut->addHTML(
+                               wfMsg( 'googlesearch',
+                                       htmlspecialchars( $term ),
+                                       htmlspecialchars( $wgInputEncoding ),
+                                       htmlspecialchars( wfMsg( 'search' ) )
+                               )
+                       );
                        wfProfileOut( $fname );
                        return;
                }