MediaWiki  master
MediaWiki\Hook\AncientPagesQueryHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\AncientPagesQueryHook:

Public Member Functions

 onAncientPagesQuery (&$tables, &$conds, &$joinConds)
 Use this hook to modify the query used by Special:AncientPages. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 12 of file AncientPagesQueryHook.php.

Member Function Documentation

◆ onAncientPagesQuery()

MediaWiki\Hook\AncientPagesQueryHook::onAncientPagesQuery ( $tables,
$conds,
$joinConds 
)

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

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