aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2020-05-21 23:47:36 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2020-05-21 23:47:36 +0000
commitfa2bb52e9a5677f312824e8c9130f002337046de (patch)
treeb312516d340a85fd1421e903a7956271310da840 /includes
parenta02b65e85add1284371bf09a865a5f807b19af4f (diff)
parentdbfebbbcec73e0f6e59deeb105a20440f3024207 (diff)
downloadmediawikicore-fa2bb52e9a5677f312824e8c9130f002337046de.tar.gz
mediawikicore-fa2bb52e9a5677f312824e8c9130f002337046de.zip
Merge "Fix typo 'desciption'"
Diffstat (limited to 'includes')
-rw-r--r--includes/Rest/Handler/SearchHandler.php8
-rw-r--r--includes/Rest/Hook/SearchResultProvideDescriptionHook.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/includes/Rest/Handler/SearchHandler.php b/includes/Rest/Handler/SearchHandler.php
index 2d20db652d5c..9df6ab95be4a 100644
--- a/includes/Rest/Handler/SearchHandler.php
+++ b/includes/Rest/Handler/SearchHandler.php
@@ -278,11 +278,11 @@ class SearchHandler extends Handler {
}
/**
- * Turn page info into serializable array with desciption field for the page.
+ * Turn page info into serializable array with description field for the page.
*
- * The information about desciption should be provided by extension by implementing
- * 'SearchResultProvideDescription' hook. Desciption is set to null if no extensions implement
- * the hook.
+ * The information about description should be provided by extension by implementing
+ * 'SearchResultProvideDescription' hook. Description is set to null if no extensions
+ * implement the hook.
* @param array $pageIdentities
*
* @return array
diff --git a/includes/Rest/Hook/SearchResultProvideDescriptionHook.php b/includes/Rest/Hook/SearchResultProvideDescriptionHook.php
index 82832e54077a..fe32c9390815 100644
--- a/includes/Rest/Hook/SearchResultProvideDescriptionHook.php
+++ b/includes/Rest/Hook/SearchResultProvideDescriptionHook.php
@@ -19,7 +19,7 @@ interface SearchResultProvideDescriptionHook {
*
* @param array $pageIdentities an array (string=>SearchResultPageIdentity) where key is pageId.
* @param array &$descriptions an output array (string=>string|null) where key
- * is pageId and value is either a desciption for given page or null
+ * is pageId and value is either a description for given page or null
*/
public function onSearchResultProvideDescription( array $pageIdentities, &$descriptions );
}