< Manual:Hooks
![]() | This feature was removed completely in version 1.32.0 (after being deprecated in 1.23.0). Please use ChangesListSpecialPageStructuredFilters | (preferred) or ChangesListSpecialPageQuery instead.
SpecialRecentChangesQuery | |
---|---|
Available from version 1.13.0 Removed in version 1.32.0 Called when building sql query for SpecialRecentChanges. | |
Define function: | public static function onSpecialRecentChangesQuery( array &$conds, array &$tables, array &$joinConds, FormOptions $opts, &$queryOptions, array &$select ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"SpecialRecentChangesQuery": "MyExtensionHooks::onSpecialRecentChangesQuery"
}
}
|
Called from: | File(s): specials/SpecialRecentChanges.php |
Interface: | SpecialRecentChangesQueryHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:SpecialRecentChangesQuery extensions.
Details
&$conds
: array of where conditionals for query&$tables
: array of tables to be queried&$joinConds
: JOIN conditions for the tables$opts
: FormOptions for this request&$queryOptions
: additional query options (added in r61670)&$select
: array of table fields to be fetched
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.