MediaWiki  master
SearchDataForIndexHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Content\Hook;
4 
6 use ParserOutput;
7 use SearchEngine;
8 use WikiPage;
9 
31  public function onSearchDataForIndex( &$fields, $handler, $page, $output,
32  $engine
33  );
34 }
ContentHandler
A content handler knows how do deal with a specific type of content on a wiki page.
Definition: ContentHandler.php:62
ParserOutput
Definition: ParserOutput.php:35
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:61
MediaWiki\Content\Hook
Definition: ContentAlterParserOutputHook.php:3
SearchEngine
Contain a class for special pages.
Definition: SearchEngine.php:37
MediaWiki\Content\Hook\SearchDataForIndexHook\onSearchDataForIndex
onSearchDataForIndex(&$fields, $handler, $page, $output, $engine)
Use this hook to add data to search document.
MediaWiki\Content\Hook\SearchDataForIndexHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchDataForIndexHook.php:17