MediaWiki master
ShowSearchHitHook.php
Go to the documentation of this file.
1<?php
2
4
7
37 public function onShowSearchHit( $searchPage, $result, $terms, &$link,
38 &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html
39 );
40}
implements Special:Search - Run text & title search and display the output
NOTE: this class is being refactored into an abstract base class.
This is a hook handler interface, see docs/Hooks.md.
onShowSearchHit( $searchPage, $result, $terms, &$link, &$redirect, &$section, &$extract, &$score, &$size, &$date, &$related, &$html)
Use this hook to customize display of search hit.