Is it possible to make an config options to include any feature to be turned on by default?
Jump to navigation Jump to search
Reply to "Options to turn on features by default"
It's documented in
Reply to "Installing Beta Features"
Reply to "Requirements params"
Reply to "Erroneous Help URL"
Options to turn on features by default
@MarkTraceur: Could you add documentation about the mysterious $wgBetaFeaturesWhitelist config variable?
It's documented in
operations/mw-config which is the only place it's used, I believe.
@Jdforrester (WMF) it is an extension global & in the extension code so should probably be documented here in the extension docs.
I added some documentation to the page here.
BetaFeatures extension is not compatible with php7.2
Today, I upgraded php7.1 to php7.2. Page tell me:
Fatal error: Declaration of HTMLFeatureField::getInputHTML($value) must be compatible with NewHTMLCheckField::getInputHTML($value, $attr = NULL) in /InstallPath/w/extensions/BetaFeatures/includes/HTMLFeatureField.php on line 26
Info & Discussion links
Reverted back to 'updated' info and discussion links.
So, I updated the links to not point to the extension namespace in https://www.mediawiki.org/w/index.php?title=Extension:BetaFeatures&diff=prev&oldid=2390878 as that is what I was told was expected in https://gerrit.wikimedia.org/r/#/c/332904/ by @Jdforrester (WMF).
You should describe in the edit summary as such. "Update example help and talk urls" was not enough.
Thanks for the undo
Installing Beta Features
I have downloaded the beta features and included it in mediawiki 1.25.1.
- I've placed "only" wfLoadExtension( 'BetaFeatures' ); in the localsettings.php.
- I've added MyExtension.php
- I've added MyExtensionHooks.php according to the auto-enroll groups script
- I've added SpecialMyExtension.php
In the beta link, all i got in there is the checkbox: Automatically enable all new beta feature
A. What do have to do next to add VisualEditor Opt-in, math function, media, sidebars etc?
B. What do i have to add in LocalSettings.php to call those hook?
C. Or maybe i'm misunderstanding this beta extension. Maybe, all it does is to create extension enable/disable in the beta category rather than in the overall extension directory?
Hi, sorry I missed this until now, but I think your point C is roughly correct, if unclear.
BetaFeatures is a ''framework'', it allows other extensions to register preferences as "beta" and gives them a nice visual display. It does not actually give you features.
Most of the extensions using BF as a framework offer the features they've marked as "beta" without BetaFeatures itself - if they don't, they're doing it Wrong - so you should feel free to simply install VisualEditor, Math, MultimediaViewer, or whatever else you want.
Erroneous Help URL
The paraminfo says the helpurls is Extension:BetaFeatures/API, but that page doesnt exist.
There are no older topics