MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSearchResultInitFromTitle ( $title, &$id) | |
Use this hook to set the revision used when displaying a page in search results. | |
Stable to implement.
Definition at line 11 of file SearchResultInitFromTitleHook.php.
MediaWiki\Search\Hook\SearchResultInitFromTitleHook::onSearchResultInitFromTitle | ( | $title, | |
& | $id | ||
) |
Use this hook to set the revision used when displaying a page in search results.
Title | $title | Current title being displayed in search results |
int | bool | &$id | Revision ID (default is false, for latest) |
Implemented in MediaWiki\HookContainer\HookRunner.