User story
As an account holder, I don't want to have the option to opt into a Flow, because the feature had limited support and is likely to be sunset in the future.
Background:
T332022: [Epic] Undeploying StructuredDiscussions (Flow) & T346108: [EPIC] IP Masking: StructuredDiscussions (Flow)/LiquidThreads Community discussion
Given the current status of Flow, and because there are issues with enabling/disabling Flow when a user is blocked/unblocked, if a user doesn't currently have Flow enabled on their talk page, we should prevent them from enabling it.
T70526: Flow: InvalidDataException "Flow workflow is for different page" from WorkflowLoaderFactory.php is related.
Acceptance Criteria:
Given I'm an account holder who does not have Structured Discussions enabled in my preferences,
When I visit Special:Preferences#mw-prefsection-betafeatures,
Then I do not see the Structured Discussions on user talk preference (so that I can not enable it).
Given I'm an account holder who does have Structured Discussions enabled in my preferences,
When I visit Special:Preferences#mw-prefsection-betafeatures,
Then I see the Structured Discussions on user talk preference (so that I have the option to disable it).