*/
function parseQuery( $filteredText, $fulltext ) {
global $wgContLang;
- $lc = $this->legalSearchChars();
+ $lc = $this->legalSearchChars( self::CHARS_NO_SYNTAX );
$this->searchTerms = [];
# @todo FIXME: This doesn't handle parenthetical expressions.
}
}
- $searchon = $this->db->addQuotes( join( ',', $q ) );
+ $searchon = $this->db->addQuotes( implode( ',', $q ) );
$field = $this->getIndexField( $fulltext );
return "$field, $searchon";
}