Smalyshev has uploaded a new change for review. https://gerrit.wikimedia.org/r/324640
Change subject: Fix some typoes ...................................................................... Fix some typoes Just noticed a bunch of random typoes. Change-Id: Id7a62661150124d1a73f890a7112c5d3f271d9a8 --- M includes/Query/FullTextSimpleMatchQueryBuilder.php M includes/Util.php 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch refs/changes/40/324640/1 diff --git a/includes/Query/FullTextSimpleMatchQueryBuilder.php b/includes/Query/FullTextSimpleMatchQueryBuilder.php index fd31ebe..12c4b02 100644 --- a/includes/Query/FullTextSimpleMatchQueryBuilder.php +++ b/includes/Query/FullTextSimpleMatchQueryBuilder.php @@ -62,7 +62,7 @@ /** * Build the primary query used for full text search. * If query_string syntax is not used the experimental query is built. - * We fallback to parent implementation otherwize. + * We fallback to parent implementation otherwise. * * @param SearchContext $context * @param string[] $fields @@ -99,7 +99,7 @@ * Tries to track queries that would need the auto_generate_phrase * from query string. * We don't try to mimic all the behaviors of the lucene tokenizers - * but to detect the words we break explicitely with the wordbreaker. + * but to detect the words we break explicitly with the wordbreaker. * This includes mainly search for acronyms. * Other chars may require a phrase query like hyphens... * diff --git a/includes/Util.php b/includes/Util.php index 1815677..3e7e720 100644 --- a/includes/Util.php +++ b/includes/Util.php @@ -393,7 +393,7 @@ $term = preg_replace( '/(?<!\\\\)(\?)+(\PL|$)/', '$2', $term ); $term = preg_replace( '/\\\\\?/', '?', $term ); } elseif ( $strippingLevel === 'all' ) { - //strip all unescapred question marks + //strip all unescaped question marks $term = preg_replace( '/(?<!\\\\)(\?)+/', ' ', $term ); $term = preg_replace( '/\\\\\?/', '?', $term ); } -- To view, visit https://gerrit.wikimedia.org/r/324640 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id7a62661150124d1a73f890a7112c5d3f271d9a8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CirrusSearch Gerrit-Branch: master Gerrit-Owner: Smalyshev <smalys...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits