Page MenuHomePhabricator

Log whether a user views limited or full IP information
Closed, ResolvedPublic2 Estimated Story Points

Description

For T295017: Display ipinfo log lines on Special:Log we want to be able to show whether a user has viewed limited or full information (i.e. whether the user has the ipinfo-view-basic or ipinfo-view-full right.

To do this, we need to log it in Logger::log. We can log it as a parameter, using $logEntry->setParameters(), defined here.

Event Timeline

Change 759562 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/IPInfo@master] Log the access level used when a user viewed IP information

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

ARamirez_WMF set the point value for this task to 3.Feb 8 2022, 5:58 PM
ARamirez_WMF changed the point value for this task from 3 to 2.

Change 759562 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] Log the access level used when a user viewed IP information

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

Image shows full right and basic right user in logger table

Screen Shot 2022-02-21 at 5.02.52 PM.png (378×2 px, 178 KB)

Screen Shot 2022-02-22 at 10.51.38 PM.png (538×2 px, 250 KB)