Index: trunk/phase3/includes/SearchEngine.php |
— | — | @@ -190,7 +190,7 @@ |
191 | 191 | return $query; // nothing to do |
192 | 192 | |
193 | 193 | $parsed = $query; |
194 | | - $allkeyword = wfMsg('searchall').":"; |
| 194 | + $allkeyword = wfMsgForContent('searchall').":"; |
195 | 195 | if( strncmp($query, $allkeyword, strlen($allkeyword)) == 0 ){ |
196 | 196 | $this->namespaces = null; |
197 | 197 | $parsed = substr($query,strlen($allkeyword)); |
Index: trunk/phase3/includes/SpecialSearch.php |
— | — | @@ -428,7 +428,7 @@ |
429 | 429 | if( $result->hasRelated() ){ |
430 | 430 | $st = SpecialPage::getTitleFor( 'Search' ); |
431 | 431 | $stParams = wfArrayToCGI( $this->powerSearchOptions(), |
432 | | - array('search' => wfMsg('searchrelated').':'.$t->getPrefixedText(), |
| 432 | + array('search' => wfMsgForContent('searchrelated').':'.$t->getPrefixedText(), |
433 | 433 | 'fulltext' => wfMsg('search') )); |
434 | 434 | |
435 | 435 | $related = ' -- <a href="'.$st->escapeLocalURL($stParams).'">'. |