* http://www.gnu.org/copyleft/gpl.html
*
* @file
- * @license GPL 2+
* @author Matthew Flaschen
*/
use Wikimedia\Rdbms\IDatabase;
/**
- * An individual filter in a boolean group
+ * Represents a hide-based boolean filter (used on ChangesListSpecialPage and descendants)
*
* @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
);
}