MediaWiki master
SearchResultInitFromTitleHook.php
Go to the documentation of this file.
1<?php
2
4
6
25 public function onSearchResultInitFromTitle( $title, &$id );
26}
Represents a title within MediaWiki.
Definition Title.php:78
This is a hook handler interface, see docs/Hooks.md.
onSearchResultInitFromTitle( $title, &$id)
Use this hook to set the revision used when displaying a page in search results.