Page MenuHomePhabricator

Create LogFormatter for cu_private_event log events
Closed, ResolvedPublic

Description

A class that extends LogFormatter should be created so that log events in the cu_private_event table can be displayed in Special:CheckUser's 'Get edits' results, Special:Investigate's timeline mode and the CheckUser API's 'Get edits' mode.

TODO:

  • Implement a LogFormatter like class to format the action text for cu_private_event rows
  • Create new message keys where appropriate to fit the standard format for log events in en.json and qqq.json
  • Register the "checkuser-private-event" log type to use the newly created LogFormatter
  • Test the newly created LogFormatter

Event Timeline

Change 937456 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] [WIP] Implement log formatter for checkuser private rows

https://gerrit.wikimedia.org/r/937456

I've moved this into the QA/Testing column, but I would suggest that the QA/Testing of this change be done in either T328995: Enable read new support in Special:CheckUser's 'Get edits' mode or T329200: Enable read new support in Special:Investigate's 'Timeline' tab. This is because this LogFormatter is unused and would be used as part of the patches written for both these tasks.

Change 937456 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Implement LogFormatter class for checkuser-private-event logs

https://gerrit.wikimedia.org/r/937456

Change 940401 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Add migrated log event subtype for checkuser-private-event logs

https://gerrit.wikimedia.org/r/940401

Change 940401 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add migrated log event subtype for checkuser-private-event logs

https://gerrit.wikimedia.org/r/940401

After discussing with @Dreamy_Jazz, we agreed that we can move this to Done since this will be worked on in a future patch, thanks!