Background
Because we are configuring two separate experiments for English Wiki and the Arabic/French/Chinese/Indonesian/Vietnamese within Test Kitchen (fka xLabs), we should make sure that the code point to both experiments.
Acceptance criteria
- All code that points to an experiment within Test Kitchen/xLabs points to en OR ar/fr/zh/id/vi experiment
Requirement
Scope: Desktop web (Vector 2022).
- Update experiment configuration for Reading Lists to support both experiment IDs:
- we-3-3-4-reading-list-test1 (for Arabic, French, Chinese, Indonesian, Vietnamese wikis)
- we-3-3-4-reading-list-test1-en (for English Wikipedia)
- All references to the experiment in Test Kitchen/xLabs must recognize either experiment ID to enable the Reading List feature.
- Users bucketed into either experiment must be able to activate and use Reading Lists.
- QA should confirm that enabling either experiment ID activates the same Reading List behavior.
BDD
Feature: Support multiple experiment IDs for Reading List feature
Scenario: User enrolled in English experiment
Given I am enrolled in the `we-3-3-4-reading-list-test1-en` experiment
When I visit an article using Vector 2022
Then the Reading List feature (bookmark icon and Special:ReadingLists) is enabled
Scenario: User enrolled in AR/FR/ZH/ID/VI experiment
Given I am enrolled in the `we-3-3-4-reading-list-test1` experiment
When I visit an article using Vector 2022
Then the Reading List feature (bookmark icon and Special:ReadingLists) is enabledTest Steps
Test Case 1: Verify Reading List activation for English experiment
- Log in and use the browser console to run: mw.xLab.overrideExperimentGroup('we-3-3-4-reading-list-test1-en', 'treatment')
- Refresh the page.
- AC1: The Reading List bookmark icon appears.
- AC2: Special:ReadingLists is accessible.
Test Case 2: Verify Reading List activation for AR/FR/ZH/ID/VI experiment
- Log in and use the browser console to run: mw.xLab.overrideExperimentGroup('we-3-3-4-reading-list-test1', 'treatment')
- Refresh the page.
- AC3: The Reading List bookmark icon appears.
- AC4: Special:ReadingLists is accessible.
Test Case 3: Verify feature remains off for non-enrolled users
- Log in as a user not in either experiment group.
- Refresh the page.
- AC5: The Reading List bookmark icon does not appear.
- AC6: Special:ReadingLists is not accessible from the UI.
Rollback plan
Describe the rollback plan in production for this task if something goes wrong.
This task was created by Version 1.0.0 of the Reader Experience team task template using phabulous.




