Page MenuHomePhabricator

new Impact module: info messages display $2 for users with zero edits
Closed, ResolvedPublicBUG REPORT

Description

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

  • As a user with less than 1,000 edits, go to Special:Homepage
  • Click on the info icon to see the text.

What happens?:

  • The text displays $2 for the edit count instead of 1,000
Screen Shot 2023-12-13 at 6.13.56 PM.png (1×1 px, 288 KB)
Screen Shot 2023-12-13 at 6.12.17 PM.png (1×1 px, 202 KB)

What should have happened instead?:
The text should always display the number 1,000 since it's an explanation of how the count is performed.

Software version (skip for WMF-hosted wikis like Wikipedia):
The bug is present in wmf.7 and wmf.9.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Etonkovidova renamed this task from new Impact module: info messages display $2 for zero edits to new Impact module: info messages display $2 for users with zero edits.Dec 14 2023, 2:33 AM

Change 989226 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] User impact: pass second argument for tooltip info

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

The issue appears to be at https://gerrit.wikimedia.org/g/mediawiki/extensions/GrowthExperiments/+/master/modules/ext.growthExperiments.Homepage.NewImpact/components/NoEditsDisplay.vue#36; the message (growthexperiments-homepage-impact-scores-thanks-info-text) is missing its second argument.

You are right, I think the other scorecard (best streak) also suffers from the same problem. It should be solved after 989226 is merged and deployed. Thanks for reporting!

Change 989226 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] User impact: pass second argument for tooltip info

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