MediaWiki  master
MediaWiki\Hook\LonelyPagesQueryHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\LonelyPagesQueryHook:

Public Member Functions

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

Detailed Description

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

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

Stable to implement

Definition at line 12 of file LonelyPagesQueryHook.php.

Member Function Documentation

◆ onLonelyPagesQuery()

MediaWiki\Hook\LonelyPagesQueryHook::onLonelyPagesQuery ( $tables,
$conds,
$joinConds 
)

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

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: