Go to file
Dreamy Jazz f4e3f78b7e Add integration test to verify logs are saved in CheckUser
Why:
* In f3c87749b8, the sending of logs
  to CheckUser when using a temporary account was fixed. As part
  of that change, it was suggested to add a test to verify that
  the call to `Hooks::updateCheckUserData` actually causes an
  insert into the relevant CheckUser result table.
* This change adds this test as a follow-up.

What:
* Create a test for the AbuseLogger that verifies that an event is
  sent to CheckUser and is saved into the DB for an abuse filter
  hit. This test is only run if the CheckUser extension is installed.

Bug: T358632
Change-Id: I33ed0810db13e38eacf4e682eb54d4ffcd583084
2024-03-01 16:11:33 +00:00
.phan Use HookHandlers for UserMerge hook 2023-08-16 09:44:30 +02:00
db_patches Drop some ancient schema changes 2023-12-22 02:07:48 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-02-29 08:34:57 +01:00
includes Send AbuseFilter logs to CheckUser on PRESEND 2024-02-28 13:09:22 +00:00
maintenance maintenance: Replace unnecessary uses of LBFactory::waitForReplication() 2024-02-03 02:52:16 +01:00
modules Remove $wgAbuseFilterBlockedExternalDomainsNotification and related code 2024-02-20 23:01:02 +00:00
tests Add integration test to verify logs are saved in CheckUser 2024-03-01 16:11:33 +00:00
.eslintignore build: Update linters 2023-11-08 14:05:03 +00:00
.eslintrc.json build: Update linters 2022-03-17 22:19:08 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview
.phpcs.xml Merge "Use FauxRequest::setUpload in AbuseFilterUploadTestTrait::doUpload" 2021-05-15 12:22:10 +00:00
.stylelintrc.json build: Update linters 2023-11-08 14:05:03 +00:00
AbuseFilter.alias.php Add Bengali translation of BlockedExternalDomains 2023-08-19 11:05:33 +00:00
CODE_OF_CONDUCT.md
composer.json build: Upgrade mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0 manually 2024-02-08 18:05:12 -05:00
COPYING
extension.json Remove $wgAbuseFilterBlockedExternalDomainsNotification and related code 2024-02-20 23:01:02 +00:00
Gruntfile.js build: Run stylelint for less file 2023-11-28 20:06:41 +01:00
package-lock.json build: Updating wdio-mediawiki to 2.5.0 2024-02-12 16:16:49 +00:00
package.json build: Updating wdio-mediawiki to 2.5.0 2024-02-12 16:16:49 +00:00