MediaWiki
REL1_35
SearchDataForIndexHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
ContentHandler
;
6
use
ParserOutput
;
7
use
SearchEngine
;
8
use
WikiPage
;
9
14
interface
SearchDataForIndexHook
{
28
public
function
onSearchDataForIndex
( &$fields, $handler, $page, $output,
29
$engine
30
);
31
}
ContentHandler
A content handler knows how do deal with a specific type of content on a wiki page.
Definition
ContentHandler.php:59
ParserOutput
Definition
ParserOutput.php:27
SearchEngine
Contain a class for special pages Stable to extend.
Definition
SearchEngine.php:37
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
MediaWiki\Content\Hook\SearchDataForIndexHook
Stable to implement.
Definition
SearchDataForIndexHook.php:14
MediaWiki\Content\Hook\SearchDataForIndexHook\onSearchDataForIndex
onSearchDataForIndex(&$fields, $handler, $page, $output, $engine)
Use this hook to add data to search document.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
includes
content
Hook
SearchDataForIndexHook.php
Generated on Sat Apr 6 2024 00:07:02 for MediaWiki by
1.9.8