The counts for some data points include edits/actions which the user does not have permission to see.
These include:
- totalEditCount
- thanksGiven
- thanksReceived
- newArticlesCount
- globalEditCount
- revertedEditCount (I will need to verify this)
I will need to follow up on whether this affects the other data points (e.g. block counts, checkuser counts, etc.)
Reproduction
- Create a new user
- As that new user:
- edit an existing page
- create a new page
- thank another user (e.g. in the revision history page)
- Login as an admin
- thank the new user for one of their edits
- revert their edit from step 2a.
- Go to Special:Contributions/<new user> and for each contribution suppress its visibility (click "change visibility" and check all of the checkboxes)
- Go to Special:Log/thanks and change the visibility of the thanks given/received in steps 2c and 3a
- Login as a normal user with no elevated rights
- Enabled with UserInfoCard by submitting: Special:ApiSandbox#action=options&format=json&optionname=checkuser-userinfocard-enable&optionvalue=1
- Go to Special:ListUsers?username=<new user> and click the UserInfoCard icon next to <new user>
Expected: all the counts for "Global edits", "Local edits", "reverted", "New articles" and "Thanks received/given" to be zero.
Actual: those counts are non-zero. If you click their respective links you will not be able to see any of the edits/actions which UIC reports.