$revQuery = Revision::getQueryInfo( [ 'page', 'user' ] );
$queryInfo = [
'tables' => $revQuery['tables'],
- 'fields' => $revQuery['fields'],
+ 'fields' => array_merge( $revQuery['fields'], [ 'page_is_new' ] ),
'conds' => [],
'options' => [],
'join_conds' => $revQuery['joins'],
* @param array $opts Options array
* @return array Options array with processed start and end date filter options
*/
- public static function processDateFilter( $opts ) {
+ public static function processDateFilter( array $opts ) {
$start = isset( $opts['start'] ) ? $opts['start'] : '';
$end = isset( $opts['end'] ) ? $opts['end'] : '';
$year = isset( $opts['year'] ) ? $opts['year'] : '';