mediawiki-extensions-AbuseF.../tests/phpunit/integration
Thalia 91456d79b2 Add RemoveProtectedFlagFromFilter maintenance script
Why:

* Protected variables were introduced to support temporary accounts
  so that temporary users could be filtered based on their IP address.
* Filters that use protected variables are protected in order to
  preserve privacy. This can't be undone.
* It is mistakenly possible to protect a filter that does not use
  protected variables (T378553). We need a mechanism to fix these
  mistakes.

What:

* Introduce a maintenance script that takes a filter ID and, if the
  filter is protected, sets it to unprotected while maintaining any
  other existing privacy levels.

Bug: T378551
Change-Id: I4dfe3970221397d5be5ea0697490d8c8e3726adf
2024-11-15 13:13:38 +00:00
..
Api Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
ChangeTags Use StatusValue::getMessages() instead of deprecated methods 2024-05-28 21:04:59 +00:00
Hooks Use namespaced classes 2024-10-19 21:55:40 +02:00
Maintenance Add RemoveProtectedFlagFromFilter maintenance script 2024-11-15 13:13:38 +00:00
Parser Use namespaced classes 2024-10-19 21:55:40 +02:00
Special Disallow protected variable access on AbuseFilterViewTestBatch 2024-07-10 05:31:03 -07:00
Watcher tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
AbuseFilterExtensionJsonTest.php Use namespaced classes 2024-10-19 21:55:40 +02:00
AbuseFilterServicesTest.php
AbuseLoggerTest.php
ActionVariablesIntegrationTest.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
EchoNotifierTest.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
FilteredActionsHandlerTest.php Use namespaced classes 2024-10-19 21:55:40 +02:00
FilterRunnerTest.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
FilterStoreTest.php Miscellaneous minor fixes 2024-07-03 02:31:38 +02:00
FilterValidatorTest.php Merge "Allow variables to be restricted by user right" 2024-06-04 17:20:17 +00:00
ProtectedVarsAccessLoggerTest.php Create protected variable access logs POSTSEND 2024-11-11 14:33:47 +00:00