Page MenuHomePhabricator

UserImpact: adjust language in the pageviews url to match the current user prefereces
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:
The pageviews url appends the impact data user (userlang=en) rather than the requesting user, Spanish

What should have happened instead?:
The pageviews url should append the requesting user language (userlang=es) rather than the impact data user, English

Software version (skip for WMF-hosted wikis like Wikipedia):

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

Screenshot 2023-01-12 at 12.32.04.png (2×1 px, 342 KB)

Event Timeline

kostajh added subscribers: KStoller-WMF, kostajh.

@KStoller-WMF would you us to fix this? If so could you please add it to an relevant Epic and the current sprint board?

Assuming this isn't overly complicated, this seems like a basic best practice we should follow. I've added to the current sprint / top product priorities.

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

[mediawiki/extensions/GrowthExperiments@master] User impact: user the current user language in the pageviews url

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

Sgs changed the task status from Open to In Progress.Jan 30 2023, 4:43 PM
Sgs moved this task from In Progress to Code Review on the Growth-Team (Sprint 0 (Growth Team)) board.

Change 884961 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] User impact: use the current user language in the pageviews url

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