MediaWiki master
ShowSearchHitTitleHook.php
Go to the documentation of this file.
1<?php
2
4
5use HtmlArmor;
9
35 public function onShowSearchHitTitle( &$title, &$titleSnippet, $result, $terms,
36 $specialSearch, &$query, &$attributes
37 );
38}
Marks HTML that shouldn't be escaped.
Definition HtmlArmor.php:30
implements Special:Search - Run text & title search and display the output
Represents a title within MediaWiki.
Definition Title.php:78
NOTE: this class is being refactored into an abstract base class.
This is a hook handler interface, see docs/Hooks.md.
onShowSearchHitTitle(&$title, &$titleSnippet, $result, $terms, $specialSearch, &$query, &$attributes)
Use this hook to customise display of search hit title/link.