* @since 1.29
*/
class ChangesListBooleanFilter extends ChangesListFilter {
- // This can sometimes be different on Special:RecentChanges
- // and Special:Watchlist, due to the double-legacy hooks
- // (SpecialRecentChangesFilters and SpecialWatchlistFilters)
-
- // but there will be separate sets of ChangesListFilterGroup and ChangesListFilter instances
- // for those pages (it should work even if they're both loaded
- // at once, but that can't happen).
/**
* Main unstructured UI i18n key
*
return;
}
- call_user_func_array(
- $this->queryCallable,
- [
- get_class( $specialPage ),
- $specialPage->getContext(),
- $dbr,
- &$tables,
- &$fields,
- &$conds,
- &$query_options,
- &$join_conds
- ]
+ ( $this->queryCallable )(
+ get_class( $specialPage ),
+ $specialPage->getContext(),
+ $dbr,
+ $tables,
+ $fields,
+ $conds,
+ $query_options,
+ $join_conds
);
}