Splitting from T311337. Special:CheckUser has been fixed, but the API has not been. The logic for the fix of the API should be similar.
Status:
- Performer of edits shown in API respects RevisionDeletion status - Deployed
- Performer of log events shown in API results respects RevisionDeletion status
- Schema change to store the log ID - T324907
The fix for logged actions will require a Schema-change in T145265 / T253796. This task should remain private until the fix for logged actions is implemented.