Page MenuHomePhabricator

[Bug] BetaOptinPanel turns on Beta and turns off AMC
Closed, ResolvedPublic

Description

Steps to reproduce

Replicate in an incognito window https://readingwebstaging.wmflabs.org/w/index.php?title=Spain incognito

  1. Enable the BetaOptinPanel by pasting the following into your LocalSettings.php
 $wgMFExperiments['betaoptin'] = array(
                "name" => "betaoptin",
                'buckets' => [
                        'control' => 0,
                        'A' => 1,
                ],
                'enabled' => true,
);
  1. Login to your local mediawiki and click on "Settings" in the main menu
  2. Turn off Beta mode and turn on AMC mode
  3. Go to any article, find the BetaOptinPanel, and click the blue "Okay" button
    Screen Shot 2019-02-27 at 2.48.36 PM.png (152×972 px, 21 KB)

Expected results

  • Beta mode turns on. AMC remains on.

Actual results

  • Beta mode turns on. AMC turns off.

Environments observed

  • Browser version: Chrome 73.0.3683.103
  • OS version: Mac Mojave 10.14.5 Beta
  • Device model: MacBook Pro
  • Device language: En

Event Timeline

ovasileva triaged this task as Medium priority.Apr 18 2019, 6:58 PM
Jdlrobson lowered the priority of this task from Medium to Low.Apr 23 2019, 7:52 AM
Jdlrobson subscribed.

Low, given that the beta opt in panel is disabled on all wikis other than the beta cluster. If we want to re-enable this feature, then this would become high.

Change 525688 had a related patch set uploaded (by Nray; owner: Nray):
[mediawiki/extensions/MobileFrontend@master] Add Amc Outreach Drawer Feature

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

Change 528289 had a related patch set uploaded (by Nray; owner: Nray):
[mediawiki/extensions/MobileFrontend@master] 🐛 Fix SpecialMobileOptions.php support of returnto redirects/single form submissions

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

Change 528289 merged by Jdlrobson:
[mediawiki/extensions/MobileFrontend@master] 🐛 Fix SpecialMobileOptions.php support of returnto redirects/single form submissions

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

Jdlrobson reassigned this task from Jdlrobson to pmiazga.
Jdlrobson added a subscriber: pmiazga.