Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6017266
ChangesListSpecialPageQueryHook.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
ChangesListSpecialPageQueryHook.php
View Options
<?php
namespace
MediaWiki\SpecialPage\Hook
;
use
MediaWiki\Html\FormOptions
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ChangesListSpecialPageQuery" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ChangesListSpecialPageQueryHook
{
/**
* This hook is called when building an SQL query on pages inheriting from
* ChangesListSpecialPage (in core: RecentChanges, RecentChangesLinked and
* Watchlist). Do not use this to implement individual filters if they are
* compatible with the ChangesListFilter and ChangesListFilterGroup structure.
* Instead, use sub-classes of those classes in conjunction with the
* ChangesListSpecialPageStructuredFilters hook. This hook can be used to
* implement filters that do not implement that structure or custom behavior
* that is not an individual filter.
*
* @since 1.35
*
* @param string $name Name of the special page, e.g. 'Watchlist'
* @param array &$tables Array of tables to be queried
* @param array &$fields Array of columns to select
* @param array &$conds Array of WHERE conditionals for query
* @param array &$query_options Array of options for the database request
* @param array &$join_conds Join conditions for the tables
* @param FormOptions $opts FormOptions for this request
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onChangesListSpecialPageQuery
(
$name
,
&
$tables
,
&
$fields
,
&
$conds
,
&
$query_options
,
&
$join_conds
,
$opts
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 13:30 (5 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7e/f2/8432b37c8277252ce5dd05434808
Default Alt Text
ChangesListSpecialPageQueryHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment