Extension talk:BetaFeatures

Jump to navigation Jump to search

About this board

$wgBetaFeaturesWhitelist

4
Summary by Kaldari

Documented.

Kaldari (talkcontribs)

@MarkTraceur: Could you add documentation about the mysterious $wgBetaFeaturesWhitelist config variable?

Jdforrester (WMF) (talkcontribs)

It's documented in operations/mw-config which is the only place it's used, I believe.

Addshore (talkcontribs)

@Jdforrester (WMF) it is an extension global & in the extension code so should probably be documented here in the extension docs.

Kaldari (talkcontribs)

I added some documentation to the page here.

BetaFeatures extension is not compatible with php7.2

2
星耀晨曦 (talkcontribs)

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
Jdforrester (WMF) (talkcontribs)

Info & Discussion links

3
Summary by Addshore

Reverted back to 'updated' info and discussion links.

Addshore (talkcontribs)
Shirayuki (talkcontribs)

You should describe in the edit summary as such. "Update example help and talk urls" was not enough.

Addshore (talkcontribs)
AmazingTrans (talkcontribs)

I have downloaded the beta features and included it in mediawiki 1.25.1.

  1. I've placed "only" wfLoadExtension( 'BetaFeatures' ); in the localsettings.php.
  2. I've added MyExtension.php
  3. I've added MyExtensionHooks.php according to the auto-enroll groups script
  4. 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?

Thanks!

AT

MarkTraceur (talkcontribs)

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.

Reply to "Installing Beta Features"
Amire80 (talkcontribs)

Hi,

The beta feature initialization can have requirements params, such as skins, javascript, blacklist, etc. Are they fully documented anywhere?

MarkTraceur (talkcontribs)

Somehow I doubt it...I think User:Jdlrobson is the one who implemented that stuff, maybe he can grace us with some documentation? :)

Reply to "Requirements params"
John Vandenberg (talkcontribs)
Reply to "Erroneous Help URL"
There are no older topics