Fix typo 'desciption'

Should be 'description'.

Bug: T201491
Change-Id: Ic6d7efb8da2fb1c9645ca4c4e666d10953b8a4ab
This commit is contained in:
MarcoAurelio 2020-05-21 20:40:39 +02:00
parent f40f3e8b27
commit dbfebbbcec
3 changed files with 6 additions and 6 deletions

View file

@ -4074,7 +4074,7 @@ extensions to fill the 'description' field in search results. Warning: this
hook as well as SearchResultPageIdentity interface is being under development and still unstable.
$pageIdentities: an array (string=>SearchResultPageIdentity) where key is pageId.
&$descriptions: an output array (string=>string|null) where key is pageId and value is either
a desciption for given page or null
a description for given page or null
'SearchResultProvideThumbnail': Called by REST SearchHandler in order to allow
extensions to fill the 'thumbnail' field in rest search results. Warning: this

View file

@ -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

View file

@ -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 );
}