Manual:Hooks/SpecialRecentChangesQuery
From MediaWiki.org
SpecialRecentChangesQuery | |
---|---|
Available from version 1.13.0 Called when building sql query for SpecialRecentChanges. |
|
Define function: |
public static function onSpecialRecentChangesQuery( &$conds, &$tables, &$join_conds, $opts, &$query_options, &$select ) { ... } |
Attach hook: |
$wgHooks['SpecialRecentChangesQuery'][] = 'MyExtensionHooks::onSpecialRecentChangesQuery'; |
Called from: | SpecialRecentchanges.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SpecialRecentChangesQuery extensions.
[edit] Details
&$conds
: array of where conditionals for query&$tables
: array of tables to be queried&$join_conds
: join conditions for the tables$opts
: FormOptions for this request&$query_options
: additional query options&$select
: array of table fields to be fetched