Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -945,17 +945,17 @@ |
946 | 946 | 'search' => $textMatches->getSuggestionQuery(), |
947 | 947 | 'fulltext' => wfMsg('search')), |
948 | 948 | $this->powerSearchOptions()); |
949 | | - |
| 949 | + |
950 | 950 | $suggestLink = $sk->makeKnownLinkObj( $st, |
951 | 951 | $textMatches->getSuggestionSnippet(), |
952 | 952 | $stParams ); |
953 | | - |
| 953 | + |
954 | 954 | $wgOut->addHTML('<div class="searchdidyoumean">'.wfMsg('search-suggest',$suggestLink).'</div>'); |
955 | 955 | } |
956 | 956 | |
957 | 957 | $wgOut->addHTML( $extra ); |
958 | 958 | |
959 | | - $wgOut->wrapWikiMsg( '<div class="mw-searchresult">$1</div>', 'searchresulttext' ); |
| 959 | + $wgOut->addWikiMsg( 'searchresulttext' ); |
960 | 960 | |
961 | 961 | if( '' === trim( $term ) ) { |
962 | 962 | // Empty query -- straight view of search form |