mediawiki-extensions-AbuseF.../includes/Pager
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
..
AbuseFilterExaminePager.php Remove wfGetDB from comments 2024-03-17 00:35:04 +08:00
AbuseFilterHistoryPager.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
AbuseFilterPager.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
AbuseLogPager.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
GlobalAbuseFilterPager.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00