mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
ca23e9f06b
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 |
||
---|---|---|
.. | ||
AbstractFilter.php | ||
ClosestFilterVersionNotFoundException.php | ||
ExistingFilter.php | ||
Filter.php | ||
FilterNotFoundException.php | ||
FilterVersionNotFoundException.php | ||
Flags.php | ||
HistoryFilter.php | ||
LastEditInfo.php | ||
MutableFilter.php | ||
Specs.php |