MediaWiki REL1_39
MediaWiki\Hook\SpecialSearchCreateLinkHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SpecialSearchCreateLinkHook:

Public Member Functions

 onSpecialSearchCreateLink ( $t, &$params)
 This hook is called when making the message to create a page or go to the existing page.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialSearchCreateLink" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file SpecialSearchCreateLinkHook.php.

Member Function Documentation

◆ onSpecialSearchCreateLink()

MediaWiki\Hook\SpecialSearchCreateLinkHook::onSpecialSearchCreateLink ( $t,
& $params )

This hook is called when making the message to create a page or go to the existing page.

Since
1.35
Parameters
Title$tTitle object searched for
array&$paramsAn array of the default message name and page title (as parameter)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: