Page MenuHomePhabricator

Alias column names in Special:Investigate to not include the "cuc_" prefix
Open, Needs TriagePublic3 Estimated Story Points

Description

Special:Investigate needs to reference column names that have no "cuc_" prefix as when reading from the three tables the prefix for a set of rows will be different.

Acceptance criteria
  • Alias the current query info fields in TimelineService, TimelinePager and TimelineRowFormatter use aliases for the cu_changes fields that are selected
  • Alias the current query info fields in CompareService and ComparePager use aliases for the cu_changes fields that are selected

Event Timeline

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

[mediawiki/extensions/CheckUser@master] [WIP] SpecialInvestigate: Alias SELECT fields for cu_changes queries

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

Change 959836 abandoned by Dreamy Jazz:

[mediawiki/extensions/CheckUser@master] [WIP] SpecialInvestigate: Alias SELECT fields for cu_changes queries

Reason:

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

Change #959836 restored by Dreamy Jazz:

[mediawiki/extensions/CheckUser@master] [WIP] SpecialInvestigate: Alias SELECT fields for cu_changes queries

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

Dreamy_Jazz set the point value for this task to 3.Fri, Apr 19, 11:38 AM

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

[mediawiki/extensions/CheckUser@master] [WIP] Alias SELECT queries for Investigate 'IPs & User agents' tab

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

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

[mediawiki/extensions/CheckUser@master] [WIP] Add common grouping and sorting methods to CheckUserLookupUtils

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

Dreamy_Jazz closed subtask Restricted Task as Resolved.Tue, Apr 30, 1:48 PM
Dreamy_Jazz reopened subtask Restricted Task as Open.Tue, Apr 30, 1:51 PM