MediaWiki REL1_37
MediaWiki\Hook\WantedPages__getQueryInfoHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\WantedPages__getQueryInfoHook:

Public Member Functions

 onWantedPages__getQueryInfo ( $wantedPages, &$query)
 This hook is called in WantedPagesPage::getQueryInfo().
 

Detailed Description

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

Use the hook name "WantedPages::getQueryInfo" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file WantedPages__getQueryInfoHook.php.

Member Function Documentation

◆ onWantedPages__getQueryInfo()

MediaWiki\Hook\WantedPages__getQueryInfoHook::onWantedPages__getQueryInfo (   $wantedPages,
$query 
)

This hook is called in WantedPagesPage::getQueryInfo().

Can be used to alter the SQL query.

Since
1.35
Parameters
WantedPagesPage$wantedPages
array&$queryQuery array. See QueryPage::getQueryInfo() for format documentation.
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: