Manual:Hooks/ChangesListSpecialPageQuery/cs

Can be used to change the information with which the database query will be build to get the information for creating the contents of the special page.

Do not use this to implement individual filters if they are compatible with the and  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.

Details

 * : name of the special page, e.g. 'Watchlist'
 * : array of tables to be queried
 * : array of columns to select
 * : array of WHERE conditionals for query
 * : array of options for the database request
 * : join conditions for the tables
 * : FormOptions for this request

Prior to MediaWiki 1.24, an equivalent hook was SpecialRecentChangesQuery.