jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Cindy-the-browser-test-bot: Looks good to me, but someone else must approve
  DCausse: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Id7a62661150124d1a73f890a7112c5d3f271d9a8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <smalys...@wikimedia.org>
Gerrit-Reviewer: Cindy-the-browser-test-bot <bernhardsone...@gmail.com>
Gerrit-Reviewer: DCausse <dcau...@wikimedia.org>
Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: Gehel <gleder...@wikimedia.org>
Gerrit-Reviewer: Manybubbles <never...@wikimedia.org>
Gerrit-Reviewer: Tjones <tjo...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to