Manual:Hooks/SpecialRecentChangesQuery

Category:MediaWiki hooks#SpecialRecentChangesQuery Category:Hooks added in MediaWiki 1.13.0#SpecialRecentChangesQuery Category:MediaWiki deprecated or obsolete features#SpecialRecentChangesQuery Category:Hooks removed in MediaWiki 1.32.0#SpecialRecentChangesQuery Category:Hooks deprecated in MediaWiki 1.23.0#SpecialRecentChangesQuery
SpecialRecentChangesQuery
Available from version 1.13.0
Removed in version 1.32.0 (Gerrit change 463881)Category:Removed hooks#SpecialRecentChangesQuery
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": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialRecentChangesQuery"
	}
}
Called from: File(s): specials/SpecialRecentChanges.phpCategory:MediaWiki hooks included in SpecialRecentChanges.php#SpecialRecentChangesQuery
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
Category:Hooks added in MediaWiki 1.13.0 Category:Hooks deprecated in MediaWiki 1.23.0 Category:Hooks removed in MediaWiki 1.32.0 Category:MediaWiki deprecated or obsolete features Category:MediaWiki hooks Category:MediaWiki hooks included in SpecialRecentChanges.php Category:Removed hooks