== Steps to reproduce
Given that the BetaOptinPanel is turned off in production right now, and I'm not aware of any environment where it is turned on, I think this is only reproducible locally:
1) Enable the BetaOptinPanel by pasting the following into your LocalSettings.php
```
$wgMFExperiments['betaoptin'] = array(
"name" => "betaoptin",
'buckets' => [
'control' => 0,
'A' => 1,
],
'enabled' => true,
);
```
3) 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 {F28296534}
== 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