mediawiki-extensions-AbuseF.../includes/Hooks
Daimona Eaytoy a6176399b1 Make tests pass on SQLite
Skip a test that fails with
  Wikimedia\Rdbms\DBQueryError: Error 5: database is locked
  Function: Wikimedia\Rdbms\Database::beginIfImplied (MediaWiki\Extension\AbuseFilter\FilterLookup::getAllActiveFiltersInGroupFromDB)
  
Probably due to some concurrency issue caused by the duplicate connection, and also with

  Wikimedia\Rdbms\DBQueryError: Error 1: no such table: unittest_external_abuse_filter
  Function: MediaWiki\Extension\AbuseFilter\FilterLookup::getAllActiveFiltersInGroupFromDB
  
for unknown reasons.

Move the mwGlobals override inside the test to avoid the same "database is locked" error
on every other test in that class.

Bug: T251967
Change-Id: I552a8d1fa532941f630fd734e590993e7462aeb0
2020-12-31 20:11:10 +00:00
..
Handlers Make tests pass on SQLite 2020-12-31 20:11:10 +00:00
AbuseFilterAlterVariablesHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterBuilderHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterComputeVariableHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterContentToStringHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterCustomActionsHook.php Create a dedicated namespace for all consequences-related classes 2020-12-18 19:27:33 +00:00
AbuseFilterDeprecatedVariablesHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterFilterActionHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterGenerateGenericVarsHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterGenerateTitleVarsHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterGenerateUserVarsHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterGetDangerousActionsHook.php Replace $wgAbuseFilterRestrictions with more specific variables 2020-10-22 13:38:59 +00:00
AbuseFilterHookRunner.php Add a hook for extensions to add custom actions 2020-12-04 16:10:44 +00:00
AbuseFilterInterceptVariableHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00
AbuseFilterShouldFilterActionHook.php Update hook calling to use new HookContainer 2020-09-17 10:05:45 +00:00