mediawiki-extensions-AbuseF.../includes/Filter
STran ca23e9f06b Convert af_hidden into a bitmask
Protected variables will cause the filter using them to become
protected as well. `af_hidden` can be used to track this flag,
as it is a TINYINT and can be converted into a bitmask with no
schema changes.

This is not a backwards-compatible change, as now all checks must
check the `hidden` flag specifically or otherwise will be cast to
true if any flag is set.

To support this change:
- "hidden" is considered a flag set in the `af_hidden`. This is a
  change in concept with no need for updates to the column values,
  as there is currently only one flag in the bitmask.
- `Flag`s store the bitmask as well as the state of single flags
  and can return either.
- Any checks against the `af_hidden` value no longer check a
  boolean value and instead now check the `hidden` flag value.

Bug: T363906
Change-Id: I358205cb1119cf1e4004892c37e36e0c0a864f37
2024-05-28 00:59:08 -07:00
..
AbstractFilter.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
ClosestFilterVersionNotFoundException.php Use Filter objects in ViewDiff 2021-01-17 00:47:33 +00:00
ExistingFilter.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
Filter.php Introduce subclasses of Filter with specific use cases 2021-01-17 00:47:29 +00:00
FilterNotFoundException.php Adjust code coverage 2020-11-19 22:40:26 +00:00
FilterVersionNotFoundException.php Adjust code coverage 2020-11-19 22:40:26 +00:00
Flags.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
HistoryFilter.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
LastEditInfo.php
MutableFilter.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
Specs.php