Page MenuHomePhabricator

StructuredDiscussions (Flow): Prevent users from enabling Flow on their user talk page (beta feature)
Closed, ResolvedPublic4 Estimated Story Points

Description

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

Related Objects

StatusSubtypeAssignedTask
In ProgressNiharika
OpenNone
OpenKStoller-WMF
OpenNone
OpenNone
OpenNone
ResolvedTrizek-WMF
ResolvedUrbanecm_WMF
ResolvedTrizek-WMF
ResolvedUrbanecm_WMF
ResolvedTrizek-WMF
ResolvedTrizek-WMF
ResolvedSgs
ResolvedSgs
OpenNone
ResolvedTrizek-WMF
ResolvedTrizek-WMF
ResolvedUrbanecm_WMF

Event Timeline

Enabled on arwiki, bswiki, cawiki, cawikiquote, elwiki, frwiki, frwikiquote, frwikisource, frwikiversity, frwikivoyage, nowiki, orwiki, urwiki, viwikisource, wawiki, wawiktionary, zhwiki, zhwikisource, wikidatawiki, specieswiki, outreachwiki. So it would require a fair amount of coordination.

Occasion 1 and 2 can be merged — Users currently not using Flow would not have it listed Beta Features. For occasion 3, if I turn it off momentarily, I would fall into the 2nd category and thus cannot have it turned on again.

KStoller-WMF moved this task from Needs Discussion to Backlog on the Growth-Team board.

In the context of T346108: [EPIC] IP Masking: StructuredDiscussions (Flow)/LiquidThreads Community discussion, we need to revive this task.

The TL;DR is: we prefer to avoid a very costly adaptation of StructuredDiscussions to Temporary accounts, and we will remove SD from the wikis as a mid-term objective.

As a consequence, during these conversations, we encourage communities to be proactive, by archiving StructuredDiscusions pages and locking them. We have to be sure that no one can create a new SD board on their talk page.

The idea is:

  • if I have SD activated on my talk page, the option to turn it off is visible in my Beta features
  • if I don't have SD activated on my talk page, the option to turn it on is not visible in my Beta features
KStoller-WMF renamed this task from Prevent users from enabling Flow on their user talk page (beta feature) to StructuredDiscussions (Flow): Prevent users from enabling Flow on their user talk page (beta feature).Nov 15 2023, 6:25 PM
KStoller-WMF updated the task description. (Show Details)
DMburugu raised the priority of this task from Low to High.Nov 28 2023, 5:15 PM
KStoller-WMF set the point value for this task to 4.
KStoller-WMF added a subscriber: Cyndymediawiksim.

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

[mediawiki/extensions/Flow@master] Beta preference: remove from beta features for disabled users

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

Trizek-WMF added a subscriber: Urbanecm_WMF.

As discussed with @Urbanecm_WMF, we will deploy this change on next week's train. I will announce it in Tech News.

I added the translation update requested in T352565 to the same change so they rollout together, hope that makes sense.

Change 980031 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] Beta preference: remove from beta features for disabled users

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

Etonkovidova subscribed.

In the context of T346108: [EPIC] IP Masking: StructuredDiscussions (Flow)/LiquidThreads Community discussion, we need to revive this task.

The TL;DR is: we prefer to avoid a very costly adaptation of StructuredDiscussions to Temporary accounts, and we will remove SD from the wikis as a mid-term objective.

As a consequence, during these conversations, we encourage communities to be proactive, by archiving StructuredDiscusions pages and locking them. We have to be sure that no one can create a new SD board on their talk page.

The idea is:

  • if I have SD activated on my talk page, the option to turn it off is visible in my Beta features
  • if I don't have SD activated on my talk page, the option to turn it on is not visible in my Beta features

@Trizek-WMF - the current behavior in beta is according to the specs:

  • when a user disables Structured Discussion (Flow) option from Preferences, the option is removed from the list of beta features.
  • users who never enabled Flow, the Structured Discussion (Flow) option is not present in the Preferences.
  • new users won't have the Structured Discussion (Flow) option in the Preferences.

Checked on cawiki wmf.10 - works as expected. @Trizek-WMF - would be great if you can confirm that it works on a wiki in group 2 (e.g. frwiki wmf.10), especially since we have T353830: [wmf.10-group 0] Flow option not present in Preferences-Beta for users with active Flow boards .