Page MenuHomePhabricator

ReadingList AB test not loading with overrideExperimentGroup
Closed, DeclinedPublicBUG REPORT

Description

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

  • add to LocalSettings.php:
$wgMetricsPlatformEnableExperimentOverrides = true;
  • in the browser console, enter:
mw.xLab.overrideExperimentGroup('we-3-3-4-reading-list-test1', 'treatment');
  • Click on the bookmark save button or click on pages in the reading list on Special:ReadingLists and it should be possible to see events in the browser console.

What happens?:

  • Events are not being logged with overrideExperimentGroup treatment

What should have happened instead?:

overrideExperimentGroup should work alongside the check for the 'readinglists-web-ui-enabled' preference for loading the readingListAB.js

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

Event Timeline

Change #1202747 had a related patch set uploaded (by Aude; author: Aude):

[mediawiki/extensions/WikimediaEvents@master] Fix loading readingListAB.js with overrideExperimentGroup

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

Change #1202747 abandoned by Aude:

[mediawiki/extensions/WikimediaEvents@master] Fix loading readingListAB.js with overrideExperimentGroup

Reason:

I can workaround this

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

aude removed aude as the assignee of this task.