restrict/expand it.
* (bug 21936) When a revision has been patrolled, there's now a link back to the
article
+* (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks
+ the return value
=== Bug fixes in 1.16 ===
&$tables: array of tables to be queried
&$join_conds: join conditions for the tables
$opts: FormOptions for this request
+&$query_options: array of options for the database request
'SpecialSearchNogomatch': called when user clicked the "Go" button but the
target doesn't exist
$tables, $fields, $conds, $join_conds, $query_options, $opts['tagfilter']
);
- wfRunHooks('SpecialRecentChangesQuery', array( &$conds, &$tables, &$join_conds, $opts ) );
+ if ( !wfRunHooks( 'SpecialRecentChangesQuery', array( &$conds, &$tables, &$join_conds, $opts, &$query_options ) ) )
+ return false;
// Don't use the new_namespace_time timestamp index if:
// (a) "All namespaces" selected