I'm not sure why, but wgBetaFeaturesFeatures is incomplete on my local MediaWiki-Vagrant install.
In the actual preferences UI, I see the following BetaFeatures:
- Hovercards
- Compact personal bar
- Fixed header
- VisualEditor
- VisualEditor language tool
But wgBetaFeaturesFeatures is only:
{ popups: null, visualeditor-enable-language: null }
That in turn means that these are the only ones looped over in betafeatures.js, which means other features don't have the JavaScript/browser blacklist processing.
This bug affects production as well.
Side note, you can use:
.client-js .mw-ui-feature-requirements-javascript {
display: none;
}
for a simpler way to do the JS-hiding, but that doesn't address the underlying problem.
Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70371