Page MenuHomePhabricator

Enable reading list beta feature for all users in reading list experiment candidate bucket
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

As part of the reading list experiment in FY25-26 Q2, we identified a list of 200,000 users who are good candidates for the experiment (as they do not have any editing or article watch activity) -- https://phabricator.wikimedia.org/T406388. Now we are transitioning reading list to a beta feature, let's enable the beta feature for these users to ensure no loss of access to saved articles in the reading list.

User story

As a user who was originally a part of the experiment bucket, I will have the reading list beta feature enabled by default. If I have saved items from the experiment period, they will continue showing up in my reading list.

Design requirements

Add design requirements or link to design files.


Technical notes

Run the migration script to copy the experiment preference to the beta feature preference for all ~200k users in the experiment bucket:

Wikis that had the experiment and hidden preference:

  • arwiki
  • frwiki
  • idwiki
  • viwiki
  • zhwiki
  • enwiki

Test the script first in dry-mode:

mwscript-k8s --comment="T414370" -- extensions/ReadingLists/maintenance/setBetaPreference.php --wiki=testwiki --dry-run --verbose

If it looks good, then we can run the script:

mwscript-k8s --comment="T414370" -- extensions/ReadingLists/maintenance/setBetaPreference.php --wiki=testwiki

Requirements

Acceptance criteria

  • setBetaPreference.php has been run in production, setting readinglistsbeta=1 for all users who had readinglists-web-ui-enabled=1
  • Users previously in the experiment bucket see ReadingLists "save page" button and "Saved pages" once the beta feature enabled (e.g. on test wikipedia)

BDD

  • For QA engineer to fill out.

Test Steps

  • For QA engineer to fill out.

Communication criteria

Add if this needs an announcement or discussion.

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.

Event Timeline

HFan-WMF renamed this task from Transition user bucket in reading list experiment into reading list beta to Enable reading list beta feature for all users in reading list experiment candidate bucket.Jan 12 2026, 6:17 PM
HFan-WMF renamed this task from Enable reading list beta feature for all users in reading list experiment candidate bucket to [Parent task] Enable reading list beta feature for all users in reading list experiment candidate bucket.Mar 10 2026, 4:35 PM
aude renamed this task from [Parent task] Enable reading list beta feature for all users in reading list experiment candidate bucket to Enable reading list beta feature for all users in reading list experiment candidate bucket.Mar 18 2026, 6:12 PM
aude updated the task description. (Show Details)

Change #1251507 had a related patch set uploaded (by LorenMora; author: LorenMora):

[mediawiki/extensions/ReadingLists@master] Transition reading list experiment to instrument

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

aude set the point value for this task to 2.Mon, Mar 23, 5:55 PM
aude moved this task from Needs refinement to Ready for sprint on the Reader Experience Team board.

Change #1251507 abandoned by LorenMora:

[mediawiki/extensions/ReadingLists@master] Enable reading list beta feature

Reason:

Unintentionally did this work as part of a separate task, abandoning so whoever picks it up can implement as they want.

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

HFan-WMF lowered the priority of this task from High to Medium.Wed, Mar 25, 6:16 PM

Setting to medium in context of current sprint

HFan-WMF raised the priority of this task from Medium to High.Mon, Mar 30, 5:49 PM

to verify users have the beta feature preference:

SELECT
  (SELECT COUNT(DISTINCT up_user)
   FROM user_properties
   WHERE up_property = 'readinglists-web-ui-enabled') AS web_ui_users,
  (SELECT COUNT(DISTINCT src.up_user)
   FROM user_properties AS src
   LEFT JOIN user_properties AS beta
     ON beta.up_user = src.up_user
    AND beta.up_property = 'readinglistsbeta'
   WHERE src.up_property = 'readinglists-web-ui-enabled'
     AND beta.up_user IS NOT NULL) AS users_with_beta,
  (SELECT COUNT(*)
   FROM user_properties AS src
   LEFT JOIN user_properties AS beta
     ON beta.up_user = src.up_user
    AND beta.up_property = 'readinglistsbeta'
   WHERE src.up_property = 'readinglists-web-ui-enabled'
     AND beta.up_user IS NULL) AS missing_beta;

All users on these 6 wikis (+ testwiki) who had the experiment readinglists-web-ui-enabled hidden preference now have the beta feature preference.

Change #1251507 restored by LorenMora:

[mediawiki/extensions/ReadingLists@master] Enable reading list beta feature

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

HFan-WMF closed this task as Resolved.EditedSun, Apr 12, 3:05 AM
HFan-WMF claimed this task.

thanks so much @aude , should I make a follow up task to remove the old experiment hidden preference? or is that already captured as a part of the experiment clean up task?

I guess this needs to wait until beta is rolled out to all wikis, since the experiment hidden preference also included enwiki