Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5975702
SpecialNewpagesConditionsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
SpecialNewpagesConditionsHook.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 18:26 (32 m, 8 s ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e8/c7/f11e6c515b9abb021364dd796543
Default Alt Text
SpecialNewpagesConditionsHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment