mediawiki-extensions-AbuseF.../tests/phpunit/unit
STran 1c96981117 Clarify protected status in filter checkboxes
The UI/UX for acknowledging a filter will be protected/is protected
could be clearer. The checkbox implemented currently doesn't make
it clear that the acknowledgement is mandatory and filters that are
already protected allow for the checkbox to be unchecked even though
that doesn't reflect that the filter cannot be unprotected.

- Update copy for the protected filter acknowledgement to make it clear
  that it's a mandatory acknowledgement, not an optional one
- Update copy for the error that shows when a filter that should be
  protected doesn't have the acknowledgement checked
- When a filter is already protected, disable the acknowledgement
  checkbox to indicate this is not mutable

Bug: T364485
Change-Id: I667fcca4511dff1ac3ca69930c5b5e5eb5001787
2024-06-06 00:23:39 -07:00
..
ChangeTags tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Consequences tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Filter Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
Hooks tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Parser Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
Special tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
VariableGenerator Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
Variables Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
Watcher tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
AbuseFilterPermissionManagerTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
AbuseLoggerFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
ActionSpecifierTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
BlockAutopromoteStoreTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
CentralDBManagerTest.php tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
EditBoxBuilderFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
EditRevUpdaterTest.php tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
EditStashCacheTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
EmergencyCacheTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterCompareTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterImporterTest.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
FilterLookupTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
FilterProfilerTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterRunnerFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterStoreTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterValidatorTest.php Clarify protected status in filter checkboxes 2024-06-06 00:23:39 -07:00
GlobalNameUtilsTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
KeywordsManagerTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
RunnerDataTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
SpecsFormatterTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
TextExtractorTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00