Page MenuHomePhabricator

Add BetaFeature support to repo
Open, Needs TriagePublic

Description

This is needed when we want people to try out the extension on actual (non-beta cluster) Wikipedia. It will enable automatically for users who wants that and enables statistics about how much a feature is used.

This includes adding image and description for the beta preferences, and creating a hook function (Exampel code can be found in TimedMediaHandler).

During beta the "enable this beta feature" setting should take preference over the normal "enable" setting in Wikispeech, so that you don't have to activate it twice.

Event Timeline

During beta, the "enable" setting in Wikispeech should be turned on, so that you don't have to activate it twice.

We'd probably rather want a second setting (Beta Feature specific) which simply trumps the normal enable_setting. That way when the Beta Feature code is removed the rest works as expected.

@Sebastian_Berlin-WMSE does this task only deal with implementing the "Beta activated" option or the whole repo side of supporting BetaFeature? If the former then it should get a parent task to cover image, description and any other code snippets that might be needed.

I'd say this covers all things beta feature. It can probably be broken down into subtasks. Feel free to add any you know off the top of your head.

Can it be activated sitewide while in Beta?

Lokal_Profil renamed this task from Add option for beta feature to Add BetaFeature support to repo.Jan 30 2020, 10:56 AM
Lokal_Profil updated the task description. (Show Details)

I'd say this covers all things beta feature. It can probably be broken down into subtasks. Feel free to add any you know off the top of your head.

Thanks. Updated to clarify.

Can it be activated sitewide while in Beta?

When in Beta feature it's only active for users who chose to opt in, this cannot be done by logged out users.