X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchMySQL.php;h=8e705c1fe87a2a7fbca768381a896ead3bae6a8a;hb=91e63a1332fb589f8f3cc47b4466f24943aa8bd4;hp=77dcfe9ce2aad9e1e6f6fe054faec3706cc45ede;hpb=b95ca29602793f39191c06cd6941e3f32ab1bbb8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchMySQL.php b/includes/search/SearchMySQL.php index 77dcfe9ce2..8e705c1fe8 100644 --- a/includes/search/SearchMySQL.php +++ b/includes/search/SearchMySQL.php @@ -54,9 +54,9 @@ class SearchMySQL extends SearchDatabase { if ( preg_match_all( '/([-+<>~]?)(([' . $lc . ']+)(\*?)|"[^"]*")/', $filteredText, $m, PREG_SET_ORDER ) ) { foreach ( $m as $bits ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); list( /* all */, $modifier, $term, $nonQuoted, $wildcard ) = $bits; - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( $nonQuoted != '' ) { $term = $nonQuoted; @@ -209,10 +209,10 @@ class SearchMySQL extends SearchDatabase { public function supports( $feature ) { switch ( $feature ) { - case 'title-suffix-filter': - return true; - default: - return parent::supports( $feature ); + case 'title-suffix-filter': + return true; + default: + return parent::supports( $feature ); } }