mediawiki-extensions-AbuseF.../includes/View
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
..
AbuseFilterView.php Replace most Xml methods with Html 2024-05-08 13:08:52 +02:00
AbuseFilterViewDiff.php Use namespaced classes 2023-12-10 23:03:12 +01:00
AbuseFilterViewEdit.php Replace most Xml methods with Html 2024-05-08 13:08:52 +02:00
AbuseFilterViewExamine.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
AbuseFilterViewHistory.php Use namespaced classes 2023-12-10 23:03:12 +01:00
AbuseFilterViewImport.php Call IContextSource::getAuthority instead of IContextSource::getUser 2022-07-03 16:37:18 +02:00
AbuseFilterViewList.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
AbuseFilterViewRevert.php Merge "Add user_unnamed_ip variable" 2024-05-23 18:10:52 +00:00
AbuseFilterViewTestBatch.php Migrate to IReadableDatabase::newSelectQueryBuilder 2024-04-30 20:45:51 +02:00
AbuseFilterViewTools.php Replace most Xml methods with Html 2024-05-08 13:08:52 +02:00
HideAbuseLog.php Replace most Xml methods with Html 2024-05-08 13:08:52 +02:00