Page MenuHomePhabricator

UserInfoCard: Hide data elements provided by GrowthExperiments UserImpact when GrowthExperiments is not available
Closed, ResolvedPublic0.5 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • it gives as 0:
    • reverted edits
    • articles created
    • thanks given
    • thanks received

What should have happened instead?:

Other information (browser name/version, screenshots, etc.):

image.png (419×422 px, 65 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Note: this is not specific to any user or wiki. From some testing, it appears to affect all users on all non-wikipedia wikis (enwp and eswp works; enws, esws, and enwq don't).

We rely on GrowthExperiments GrowthExperiments-ImpactModule data store for several of the data points, and this is not yet deployed to non-Wikipedia projects. We should update the card to hide those data points when the GrowthExperiments impact module isn't available, or, move forward with deploying the GrowthExperiments impact module on non-Wikipedia projects (IIRC, GrowthExperiments maintainers are open to this idea)

I think this also might happen when a user is locally suppress blocked.

kostajh renamed this task from UserInfoCard shows 0 for plenty of things which are far from that to UserInfoCard: Hide data elements provided by GrowthExperiments UserImpact when GrowthExperiments is not available.Aug 25 2025, 12:28 PM
kostajh set the point value for this task to 0.5.

For now, I think we should export hasUserImpactData to the client side. If it's not set, then we should hide the relevant data points that are populated based on this information:

  • reverted articles count
  • new articles created
  • thanks given / received

Change #1189109 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] UIC: Hide data points from GrowthExperiments if not available

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

Change #1189109 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UIC: Hide data points from GrowthExperiments if not available

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