Page MenuHomePhabricator

Preserve mpo query parameter in auth flows
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

(2) Persisting the mpo query parameter throughout the account creation and sign-in flows
We should do this! It would make developers and QTE's lives easier whilst they're testing their experiments.
I'm going to reach out to Gergo, who led the implementation of SUL3, about persisting parameters in these flows and will write up a ticket once I know more

Gergo pointed to the AuthPreserveQueryParams hook and an example in the Campaigns extension for how to use it.

  • Per the title, the mpo query parameter is preserved in auth flows using the AuthPreserveQueryParams hook mechanism

Event Timeline

phuedx moved this task from Incoming to READY TO GROOM on the Test Kitchen board.
dr0ptp4kt set the point value for this task to 2.Sep 30 2025, 3:58 PM

Change #1193071 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/WikimediaEvents@master] Implement AuthPreserveQueryParams for Metrics Platform mpo param

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

Change #1193113 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/MetricsPlatform@master] Implement AuthPreserveQueryParams for Metrics Platform mpo param

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

Change #1193071 abandoned by Kosta Harlan:

[mediawiki/extensions/WikimediaEvents@master] Implement AuthPreserveQueryParams for Metrics Platform mpo param

Reason:

See I579f168071cf03adac988f3863dcb56a2f40237c instead

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

Change #1193113 merged by jenkins-bot:

[mediawiki/extensions/MetricsPlatform@master] Implement AuthPreserveQueryParams for Metrics Platform mpo param

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

Change #1193188 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/MetricsPlatform@wmf/1.45.0-wmf.21] Implement AuthPreserveQueryParams for Metrics Platform mpo param

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

Change #1193188 merged by jenkins-bot:

[mediawiki/extensions/MetricsPlatform@wmf/1.45.0-wmf.21] Implement AuthPreserveQueryParams for Metrics Platform mpo param

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

Mentioned in SAL (#wikimedia-operations) [2025-10-06T07:20:41Z] <kharlan@deploy2002> Started scap sync-world: Backport for [[gerrit:1193188|Implement AuthPreserveQueryParams for Metrics Platform mpo param (T404622)]], [[gerrit:1193700|UserInfoCard: Hide new articles count when likely to be inaccurate (T399096)]]

Mentioned in SAL (#wikimedia-operations) [2025-10-06T07:26:53Z] <kharlan@deploy2002> kharlan: Backport for [[gerrit:1193188|Implement AuthPreserveQueryParams for Metrics Platform mpo param (T404622)]], [[gerrit:1193700|UserInfoCard: Hide new articles count when likely to be inaccurate (T399096)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-10-06T07:34:45Z] <kharlan@deploy2002> Finished scap sync-world: Backport for [[gerrit:1193188|Implement AuthPreserveQueryParams for Metrics Platform mpo param (T404622)]], [[gerrit:1193700|UserInfoCard: Hide new articles count when likely to be inaccurate (T399096)]] (duration: 14m 04s)

@kostajh: From Experiment Platform's perspective, this is Done™. Do you or your team have anything left to do?