MediaWiki master
MediaWiki\Hook\ShortPagesQueryHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onShortPagesQuery (&$tables, &$conds, &$joinConds, &$options)
 Use this hook to modify the query used by Special:ShortPages.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file ShortPagesQueryHook.php.

Member Function Documentation

◆ onShortPagesQuery()

MediaWiki\Hook\ShortPagesQueryHook::onShortPagesQuery ( & $tables,
& $conds,
& $joinConds,
& $options )

Use this hook to modify the query used by Special:ShortPages.

Since
1.35
Parameters
array&$tablestables to join in the query
array&$condsconditions for the query
array&$joinCondsjoin conditions for the query
array&$optionsoptions for the query
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: