Page MenuHomePhabricator

Add a link: add hidden preference to allow opting in to link recommendation UX
Closed, DuplicatePublic

Description

Like other features we've developed in the past behind a feature flag, we'll want to allow users to switch on the link recommendation UX via a hidden preference. Once the feature is fully deployed to the wiki we can remove the hidden preference.

Event Timeline

We could use this for the A/B test - set it randomly during registration, and depending on the flag, discard either the link or the link-recommendation task type for the user. We'd need some way to filter out the people who used it initially for testing, though.

MMiller_WMF renamed this task from Add hidden preference to allow opting in to link recommendation UX to Add a link: add hidden preference to allow opting in to link recommendation UX.Mar 23 2021, 5:08 AM

The preference is growthexperiments-link-recommendations-enabled. An example code snippet to set it is

new mw.Api().saveOption( 'growthexperiments-link-recommendations-enabled', 1 ).done( function() { window.location.reload() } );