Steps to reproduce
- Install the CheckUser extension
- Add $wgCheckUserEventTablesMigrationStage = SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_NEW; to your LocalSettings.php file.
- Log into an account with the suppressor group
- Create a page
- Delete said page with the suppression option checked
- Log into a different account with the checkuser group (and importantly not the suppressor group)
- Load Special:CheckUser
- Run a 'Get edits' check on the username of the account used in steps 3 to 5.
Expected behaviour: The log entry action text for the suppression is hidden
Observed behaviour: The log entry action text is shown.
Extra information
Raised as an issue in QA of T328995.
When wgCheckUserEventTablesMigrationStage is set to include SCHEMA_COMPAT_READ_NEW, the generated action text for log events taken from the cu_log_event table does not respect the deleted status of the log entry.
This was already the case when SCHEMA_COMPAT_READ_OLD was instead set, but this is slightly worse as any log entry deleted on creation (such as a page suppression log event) is now shown.
QA Results - Local
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T347773 here |