mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
[TEMPORARY] Re-point A/B testing preference for test
Instead of writing to the visualeditor-enable preference (which is user-facing), write to the visualeditor-testabpreference one (which is made up and won't impact anything), so that we can test that the A/B bucketing code works as expected. This patch will be reverted once bucketing is confirmed to be working. Change-Id: Ia738146c5bf68795bf812d64847ba74498888cd5
This commit is contained in:
parent
96aa5c9145
commit
1a42383cdd
|
@ -665,7 +665,7 @@ class VisualEditorHooks {
|
|||
$user->isLoggedin() &&
|
||||
( ( $user->getId() % 2 ) === 0 )
|
||||
) {
|
||||
$user->setOption( 'visualeditor-enable', 1 );
|
||||
$user->setOption( 'visualeditor-testabpreference', 1 );
|
||||
$user->saveSettings();
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue