diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-01-18 16:46:04 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-01-18 16:46:04 +0100 |
commit | 63601400e476c6cf43d985f3e7b9864681695ed4 (patch) | |
tree | f7846203a952e38aaf66989d0a4702779f549962 /includes/search/SearchMssql.php | |
parent | 8ff01378c9e0207f9169b81966a51def645b6a51 (diff) |
Update to MediaWiki 1.20.2
this update includes:
* adjusted Arch Linux skin
* updated FluxBBAuthPlugin
* patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024
Diffstat (limited to 'includes/search/SearchMssql.php')
-rw-r--r-- | includes/search/SearchMssql.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/search/SearchMssql.php b/includes/search/SearchMssql.php index ebf19d3a..69c92ba3 100644 --- a/includes/search/SearchMssql.php +++ b/includes/search/SearchMssql.php @@ -115,6 +115,7 @@ class SearchMssql extends SearchEngine { * * @param $filteredTerm String * @param $fulltext Boolean + * @return String */ function getQuery( $filteredTerm, $fulltext ) { return $this->queryLimit( $this->queryMain( $filteredTerm, $fulltext ) . ' ' . @@ -151,7 +152,9 @@ class SearchMssql extends SearchEngine { 'WHERE page_id=ftindex.[KEY] '; } - /** @todo document */ + /** @todo document + * @return string + */ function parseQuery( $filteredText, $fulltext ) { global $wgContLang; $lc = SearchEngine::legalSearchChars(); @@ -189,6 +192,7 @@ class SearchMssql extends SearchEngine { * @param $id Integer * @param $title String * @param $text String + * @return bool|\ResultWrapper */ function update( $id, $title, $text ) { // We store the column data as UTF-8 byte order marked binary stream @@ -211,6 +215,7 @@ class SearchMssql extends SearchEngine { * * @param $id Integer * @param $title String + * @return bool|\ResultWrapper */ function updateTitle( $id, $title ) { $table = $this->db->tableName( 'searchindex' ); |