Page MenuHomePhabricator

CU 2.0: Logging for Special:Investigate - Displaying the data
Closed, ResolvedPublic

Description

This task is for creating Special:InvestigateLog. Acceptance criteria:

  • Special:InvestigateLog with the page title - Investigation logs
  • On the log page, log entries appear as:
00:00, 1 January 2020, CheckUser looked up information for 1.1.1.1 (talk | contribs | block) (Reason for investigation)
00:01, 1 January 2020, CheckUser looked up information for Foobar (talk | contribs | block) (Reason for investigation)

See T245662: CU 2.0: Logging for Special:Investigate - Adding the data for details.

Event Timeline

Niharika triaged this task as Medium priority.Mar 5 2020, 8:09 PM
Niharika created this task.

Change 577582 had a related patch set uploaded (by Dmaza; owner: Dmaza):
[mediawiki/extensions/CheckUser@master] Add InvestigateLog Special page

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

Change 577582 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Add InvestigateLog Special page

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

Change 579456 had a related patch set uploaded (by Dmaza; owner: Dmaza):
[mediawiki/extensions/CheckUser@master] Add InvestigateLog to extension aliases

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

dom_walden subscribed.

Special:InvestigateLog looks something like:

specialinvestigatelog.png (128ร—743 px, 24 KB)

Apart from some of the wording, it is virtually the same as the existing Special:CheckUserLog (including the HTML).

IP addresses and ranges don't have a separate "contrib" link, rather the IP address is a link to Special:Contributions/$ip.

There is no "block" link. I guess this will be done as part of the design/dev work for blocking.

It only includes rows from cuc_log where cuc_type = investigate (so does not include logs from the current check user).

The logs paginate similar to Special:CheckUserLog (see below). It uses the timestamp as index. So, if there are logs that are within a second of each other, they may be lost across pages.

specialinvestigatelog_pagination.png (147ร—730 px, 28 KB)

Change 579456 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Add InvestigateLog to extension aliases

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

Thanks @dom_walden. Sounds about right. The Czechuser pun wasn't missed. ๐Ÿ˜‚