return $query; // nothing to do
$parsed = $query;
- $allkeyword = wfMsg('searchall').":";
+ $allkeyword = wfMsgForContent('searchall').":";
if( strncmp($query, $allkeyword, strlen($allkeyword)) == 0 ){
$this->namespaces = null;
$parsed = substr($query,strlen($allkeyword));
if( $result->hasRelated() ){
$st = SpecialPage::getTitleFor( 'Search' );
$stParams = wfArrayToCGI( $this->powerSearchOptions(),
- array('search' => wfMsg('searchrelated').':'.$t->getPrefixedText(),
+ array('search' => wfMsgForContent('searchrelated').':'.$t->getPrefixedText(),
'fulltext' => wfMsg('search') ));
$related = ' -- <a href="'.$st->escapeLocalURL($stParams).'">'.