MediaWiki REL1_39
ShowSearchHitTitleHook.php
Go to the documentation of this file.
1<?php
2
4
5use HtmlArmor;
8use Title;
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
NOTE: this class is being refactored into an abstract base class.
implements Special:Search - Run text & title search and display the output
Represents a title within MediaWiki.
Definition Title.php:49
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.