Page MenuHomeWickedGov Phorge

SpecialNewpagesConditionsHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

SpecialNewpagesConditionsHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Html\FormOptions;
use MediaWiki\Pager\NewPagesPager;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialNewpagesConditions" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SpecialNewpagesConditionsHook {
/**
* This hook is called when building the SQL query for Special:NewPages.
*
* @since 1.35
*
* @param NewPagesPager $special NewPagesPager object (subclass of ReverseChronologicalPager)
* @param FormOptions $opts FormOptions object containing special page options
* @param array &$conds array of WHERE conditionals for query
* @param array &$tables array of tables to be queried
* @param array &$fields array of columns to select
* @param array &$join_conds join conditions for the tables
* @return bool|void True or no return value to continue or false to abort
*/
public function onSpecialNewpagesConditions( $special, $opts, &$conds,
&$tables, &$fields, &$join_conds
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 18:26 (1 h, 12 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e8/c7/f11e6c515b9abb021364dd796543
Default Alt Text
SpecialNewpagesConditionsHook.php (1 KB)

Event Timeline