MediaWiki
REL1_41
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
18
interface
SearchDataForIndexHook
{
32
public
function
onSearchDataForIndex
( &$fields, $handler, $page, $output,
33
$engine
34
);
35
}
ContentHandler
A content handler knows how do deal with a specific type of content on a wiki page.
Definition
ContentHandler.php:71
ParserOutput
Rendered output of a wiki page, as parsed from wikitext.
Definition
ParserOutput.php:58
SearchEngine
Contain a class for special pages.
Definition
SearchEngine.php:42
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:77
MediaWiki\Content\Hook\SearchDataForIndexHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SearchDataForIndexHook.php:18
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 Nov 23 2024 08:23:02 for MediaWiki by
1.10.0