Extension talk:BetaFeatures

Jump to: navigation, search

About this board

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.

Reply to "$wgBetaFeaturesWhitelist"

Info & Discussion links

3
Summary by Addshore

Reverted back to 'updated' info and discussion links.

Addshore (talkcontribs)

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).

This change has since been reverted by @Shirayuki so I was wondering if we could come to some sort of agreement here for a best practise and what should be documented.

Shirayuki (talkcontribs)

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

Addshore (talkcontribs)

Thanks for the undo

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)

The paraminfo says the helpurls is Extension:BetaFeatures/API, but that page doesnt exist.

Reply to "Erroneous Help URL"
There are no older topics