Page MenuHomePhabricator

Hide GrowthExperiments providers for unavailable features from Special:CommunityConfiguration
Closed, ResolvedPublic1 Estimated Story Points

Description

GrowthExperiments includes several feature flags that make it possible to mark certain features as unavailable. For example, it is possible to disable Suggested edits in full, leaving only Homepage, Mentorship and Help panel in operation. We use those flags eg. at French Wiktionary, which does not have Suggested edits (as those are Wikipedia-specific for now).

It does not make sense for Special:CommunityConfiguration to show providers for features that are unavailable at the wiki, as it does not make sense for unavailable features to be configured. Within this task, we should ensure Special:CommunityConfiguration only shows providers for features that are available (see Acceptance Criteria for details).

Acceptance Criteria
  • Given Suggested edits are not available on a wiki, When I view Special:CommunityConfiguration, Then I do not see Suggested edits in the dashboard.
  • Given Help panel is not available on a wiki, When I view Special:CommunityConfiguration, Then I do not see Help panel in the dashboard.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
KStoller-WMF set the point value for this task to 1.Jun 25 2024, 4:13 PM

Change #1051789 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] Config: unregister HelpPanel and SuggestedEdits providers

https://gerrit.wikimedia.org/r/1051789

Change #1051789 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Config: unregister HelpPanel and SuggestedEdits providers

https://gerrit.wikimedia.org/r/1051789

@Urbanecm_WMF - could you provide some specific examples how to disable Suggested edits and Help panel in the config files?

For example, I can see several setting for Suggested edits, but not sure which of them should be disabled:
wgGELinkRecommendationsFrontendEnabled
wgGENewcomerTasksImageRecommendationsEnabled

This is been in production for two months now, moving to Test in Production. It can be tested in betalabs or production in frwiktionary which has SuggestedEdits disabled.

This is been in production for two months now, moving to Test in Production. It can be tested in betalabs or production in frwiktionary which has SuggestedEdits disabled.

Thx, @Sgs - I forgot to update the task after testing - it's resolved.