mediawiki-extensions-AbuseF.../tests/phpunit
Thalia 6a14ea54fb AbuseFilterViewEdit: Expose status object to form builder
Why:

* For improvements to the protected filters workflow (T377765),
  a checkbox needs to be displayed conditionally on the status
  of a previously submitted form.

What:

* Pass a status object into ::buildFilterEditor, and build the
  HTML for any warnings or errors in that function, instead of
  first building the HTML and passing it.
* This also allows more than one error and/or warning to be
  shown if present, though this may not happen in practice yet.

Change-Id: I37da49711e7fc192856f013cd931c05379f8e8c6
2024-11-14 18:23:25 +00:00
..
integration AbuseFilterViewEdit: Expose status object to form builder 2024-11-14 18:23:25 +00:00
unit Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
AbuseFilterConsequencesTest.php Use namespaced classes 2024-10-19 21:55:40 +02:00
AbuseFilterCreateAccountTestTrait.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
AbuseFilterFilterUserTest.php Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterRowsAndFiltersTestTrait.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
AbuseFilterUploadTestTrait.php Update comment still mentioning setMwGlobals 2024-08-11 17:26:10 +02:00
ConsequenceGetMessageTestTrait.php
DegroupTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
LazyVariableComputerDBTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
RCVariableGeneratorTest.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
SchemaChangesHandlerTest.php Use namespaced classes 2024-06-12 20:01:35 +02:00