Update docs/hooks.txt for ShowSearchHitTitle
commitfa6ade726260374fb2b1febb162ccfcd8c4a6058
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 20 Jan 2017 09:40:28 +0000 (20 10:40 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Fri, 20 Jan 2017 09:40:28 +0000 (20 10:40 +0100)
tree614356335125405f1348214ab9df1667f3ed33ff
parent92214baada6e6c5ae061a1034bce51b4342fd021
Update docs/hooks.txt for ShowSearchHitTitle

Reasons:
* $text is vague. It's the label of the link. There is a function named
  getTitleSnippet, which is what I'm reusing for the variable name.
* $page is vague. It's not the page of the search result, but the search
  special page.
* $queryString is not a string but an array of strings.

I also updated https://www.mediawiki.org/wiki/Manual:Hooks/ShowSearchHitTitle
accordingly.

Change-Id: Ia18dbf5ccf7f9fcc8890ad01641d0b7ff3e6eee8
docs/hooks.txt
includes/widget/search/FullSearchResultWidget.php