Page MenuHomePhabricator

populateCheckUserTablesWithSimulatedData maintenance script uses invalid delete/suppress action
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?

As discussed in QA in T342371: Create a maintenance script used only for testing to insert a large volume of testing actions to CheckUser, the maintenance script occasionally uses the invalid log delete/suppress. This was fixed by a follow-up change that has just been merged in that task.

Steps to reproduce problem
  1. Install CheckUser
  2. In your LocalSettings.php, add $wgCheckUserDeveloperMode = true;
  3. Run the populateCheckUserTablesWithSimulatedData.php maintenance script (the command is docker compose exec mediawiki php maintenance/run.php CheckUser:populateCheckUserTablesWithSimulatedData.php for MediaWiki-Docker)
  4. Open Special:Log and set the limit to 500 results
  5. Use the browser find in page feature and search for performed unknown action

Expected behaviour: No entries should be found
Observed behaviour: Items are found where type and subtype is delete/suppress

Environment

Wiki(s): CheckUser 2.5 (7402d997) 16:09, 11 September 2023.

QA Results - Local

Event Timeline

GMikesell-WMF subscribed.

@Dreamy_Jazz There are no performed unknown action in the new patch when compared to the old patch as seen from the screenshots below. I will move this to Done. Thanks for all your work!

Status: ✅ PASS
Environment: Local: 1.41.0-alpha (3c881e4) 18:32, 12 September 2023. CheckUser: 2.5 (60e7066) 08:43, 12 September 2023
OS: macOS Ventura
Browser: Chrome 116
Device: MBA M2
Emulated Device:: N/A
Test Links:
Special:Log

✅AC1: https://phabricator.wikimedia.org/T346105

Old PatchNew Patch
2023-09-12_12-14-03.png (1×2 px, 503 KB)
2023-09-12_12-12-48.png (1×2 px, 1 MB)