MediaWiki REL1_40
MediaWiki\Hook\SpecialNewpagesConditionsHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSpecialNewpagesConditions ( $special, $opts, &$conds, &$tables, &$fields, &$join_conds)
 This hook is called when building the SQL query for Special:NewPages.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file SpecialNewpagesConditionsHook.php.

Member Function Documentation

◆ onSpecialNewpagesConditions()

MediaWiki\Hook\SpecialNewpagesConditionsHook::onSpecialNewpagesConditions ( $special,
$opts,
& $conds,
& $tables,
& $fields,
& $join_conds )

This hook is called when building the SQL query for Special:NewPages.

Since
1.35
Parameters
NewPagesPager$specialNewPagesPager object (subclass of ReverseChronologicalPager)
FormOptions$optsFormOptions object containing special page options
array&$condsarray of WHERE conditionals for query
array&$tablesarray of tables to be queried
array&$fieldsarray of columns to select
array&$join_condsjoin conditions for the tables
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: