mediawiki-extensions-SpamBl.../tests/phpunit
Daimona Eaytoy da1af447e2 Always pass a User object to SpamBlacklist::filter
There are some usages outside of SpamBlacklist that must be fixed. After
doing that, the signature should be updated to make the user
non-optional.

Note: I've changed the signature because external callers only pass the
first two parameters. Hence, it's easier to change it now, add a
User parameter to the callers and then make it non-optional, than having
to pass $preserveLog and $mode in all callers and then swapping the
order (as that would break the world).

Change-Id: I0714eb9dbc6af3c775ab7a81cb4b59e687183f77
2020-11-10 19:13:01 +00:00
..
BaseBlacklistTest.php Unbreak BaseBlacklist::getTypeFromTitle() and add tests 2017-07-08 01:39:16 +00:00
SpamBlacklistTest.php Always pass a User object to SpamBlacklist::filter 2020-11-10 19:13:01 +00:00