mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
60cbc3b464
Regarding array building: Instead of adding to array with $array[] = 'foo' and then doing array_flip(), simply do $array['foo'] = true; Regarding tests: I originally wanted to create a unit test but I ended up mocking so many things that it wasn't worth it and the config variable is globaly which first we need to clean up after deployment is done. Bug: T337431 Change-Id: Iac8dca7078668ee3441d19b6aafe499c1aa0d732 |
||
---|---|---|
.. | ||
Handlers | ||
AbuseFilterAlterVariablesHook.php | ||
AbuseFilterBuilderHook.php | ||
AbuseFilterComputeVariableHook.php | ||
AbuseFilterContentToStringHook.php | ||
AbuseFilterCustomActionsHook.php | ||
AbuseFilterDeprecatedVariablesHook.php | ||
AbuseFilterFilterActionHook.php | ||
AbuseFilterGenerateGenericVarsHook.php | ||
AbuseFilterGenerateTitleVarsHook.php | ||
AbuseFilterGenerateUserVarsHook.php | ||
AbuseFilterGenerateVarsForRecentChangeHook.php | ||
AbuseFilterGetDangerousActionsHook.php | ||
AbuseFilterHookRunner.php | ||
AbuseFilterInterceptVariableHook.php | ||
AbuseFilterShouldFilterActionHook.php |