Page MenuHomePhabricator

Ensure bots are not automatically subscribed to discussions they comment in and/or start
Closed, ResolvedPublic

Description

This task is about ensuring that bots do not become automatically subscribed to discussions they start and/or comment in.

This work is intended to prevent a scenario where the Topic Subscription database becomes unhelpfully large as a result of it becoming filled with subscriptions that have not been initiated by humans as @Ladsgroup noted in T294881#7709569.

Requirements

Implement some kind of check/safeguard/constraint/etc. that prevents bots from becoming subscribed to sections they start and/or comment in. [i]

Approaches


i. E.g. https://w.wiki/4qt8

Event Timeline

ppelberg updated the task description. (Show Details)
ppelberg moved this task from Backlog to Existing Feature Improvements on the DiscussionTools board.
ppelberg edited projects, added Editing-team; removed Editing-team (Tracking).
ppelberg moved this task from Untriaged to Next Quarter on the Editing-team board.

Change 763560 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/DiscussionTools@master] Don't autosubscribe flagged bots

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

Change 763560 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Don't autosubscribe flagged bots

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

matmarex added a project: Editing QA.
matmarex subscribed.

QA steps: verify that auto subscriptions are working, then add yourself to the "bot" group (temporarily) and verify that they no longer do.

As expected,
Non-bot :) users are automatically subscribed:

Screenshot 2022-02-20 at 05.50.28.png (458×2 px, 120 KB)

Screenshot 2022-02-21 at 13.22.50.png (356×1 px, 92 KB)

Bots are not automatically subscribed:

Screenshot 2022-02-21 at 13.13.23.png (286×2 px, 59 KB)

Screenshot 2022-02-21 at 13.14.09.png (246×2 px, 61 KB)