Manual:Hooks/ChangesListSpecialPageQuery

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.

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.