MediaWiki REL1_35
MediaWiki\Hook\SpecialNewpagesConditionsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SpecialNewpagesConditionsHook:

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

Stable to implement.

Definition at line 12 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: