[go: nahoru, domu]

Page MenuHomePhabricator

Set Flow to read only for testwiki
Closed, ResolvedPublic

Description

Background

We are planning to deploy temporary accounts to testwiki (see parent task: T348895).

Flow has not been updated to work with temporary accounts, and it is used on testwiki. We therefore proposed doing T368910: Disable interactions with Flow content for users if temp accounts are used in time for the testwiki deployment.

Following discussions with @ppelberg and @Trizek-WMF, it appears there is more concern within communities about having Flow available to some users but not others, compared to making Flow read-only for everyone. The discussion concluded that it would be better to make Flow read-only for everyone on testwiki, ahead of temporary accounts deployment.

What needs doing

Set $wgFlowReadOnly = true on testwiki, ahead of temporary accounts being deployed there.

Requirements

In line with Monday’s (22 July) deployment of temp accounts to test wiki, Flow will be placed into a read-only state for everyone

  • Where “read-only state” means people will NOT be able to:
    • Start new topics
    • Comment in existing discussions
    • Take any other Flow-related action (e.g. hide, edit title, thank, report, etc.) [i]
  • Where “everyone” means people who are:
    • Logged in
    • Logged out (read: holding temporary accounts)

Event Timeline

Change #1054921 had a related patch set uploaded (by Tchanders; author: Tchanders):

[operations/mediawiki-config@master] Set Flow to read only on testwiki

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

Note that we're awaiting approval from @ppelberg.

Thank you for affording me/us the space to think this through. Per what I shared in Slack, the Editing Team supports the path forward y'all are proposing, and putting into effect, with this ticket. See "Proposal" below.

Path forward

  • In line with Monday’s (22 July) deployment of temp accounts to test wiki, Flow will be placed into a read-only state for everyone
    • Where “read-only state” means people will NOT be able to:
      • Start new topics
      • Comment in existing discussions
      • Take any other Flow-related action (e.g. hide, edit title, thank, report, etc.) [i]
    • Where “everyone” means people who are:
      • Logged in
      • Logged out (read: holding temporary accounts)

i. As @Tchanders noted, disabling “Thanks” and “Reporting” will require a change to their associated extensions.

ppelberg updated the task description. (Show Details)

Meta: I've added the path forward we've converged on (T370322#9993052) to the newly-created Requirements section within the task description.

Change #1054921 merged by jenkins-bot:

[operations/mediawiki-config@master] Set Flow to read only on testwiki

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

Mentioned in SAL (#wikimedia-operations) [2024-07-22T13:11:18Z] <tchanders@deploy1002> Started scap sync-world: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-22T13:13:45Z] <tchanders@deploy1002> tchanders: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-22T13:39:57Z] <tchanders@deploy1002> Started scap sync-world: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]], [[gerrit:1055937|Fix logic for handling enabling temporary accounts (T348895)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-22T13:42:23Z] <tchanders@deploy1002> tchanders: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]], [[gerrit:1055937|Fix logic for handling enabling temporary accounts (T348895)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-22T14:01:10Z] <tchanders@deploy1002> Started scap sync-world: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]], [[gerrit:1055937|Fix logic for handling enabling temporary accounts (T348895)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-22T14:03:32Z] <tchanders@deploy1002> tchanders: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]], [[gerrit:1055937|Fix logic for handling enabling temporary accounts (T348895)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-22T14:08:22Z] <tchanders@deploy1002> Finished scap: Backport for [[gerrit:1054921|Set Flow to read only on testwiki (T370322)]], [[gerrit:1054625|Enable temporary accounts on testwiki and loginwiki (T348895)]], [[gerrit:1055937|Fix logic for handling enabling temporary accounts (T348895)]] (duration: 07m 11s)

dom_walden subscribed.

On testwiki, I have confirmed that I cannot start new topics or reply to existing topics on Flow/Structured Discussion pages, as a logged in, temporary or anonymous user.

I didn't test anything more advanced like using MassMessage or the API.

testwiki_flow_read-only.png (955×877 px, 78 KB)