Page MenuHomePhabricator

Allow communities to configure Automoderator's log-only mode via Community Configuration
Closed, ResolvedPublic2 Estimated Story Points

Description

Per the parent task, in T419251 we are adding a log-only option for Automoderator.

The scope of this ticket is to surface this configuration in Community Configuration for Automoderator, in both the language-agnostic and multilingual forms.

Design
To be verbose and specific about what is happening, we could provide log-only as a specific configuration, as an alternative to enabling reverting in Automoderator. We could adjust the checkbox to a radio select between the two options, with reverting as the default. This would enable existing Automoderator configurations to remain as-is:

Screenshot 2026-03-03 at 16.04.42.png (2,282×1,234 px, 258 KB)

Acceptance criteria

  • Automoderator can be configured via Community Configuration to run in a log-only mode.
  • Existing wikis with Automoderator enabled continue to run without needing to make new changes.

Event Timeline

Scardenasmolinar changed the task status from Open to In Progress.Apr 9 2026, 7:29 PM
Scardenasmolinar claimed this task.
Scardenasmolinar moved this task from Estimated to Kanban on the Moderator-Tools-Team board.
Scardenasmolinar moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

Change #1270616 had a related patch set uploaded (by Scardenasmolinar; author: Scardenasmolinar):

[mediawiki/extensions/AutoModerator@master] Add log-only mode options to AutoModerator CC

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

Hi! I had some product/design questions about this implementation.

When I initially implemented this I imagined that we would just have an additional parameter that we flipped to on in addition to turning on AutoModerator itself.
That is why I created the initial configuration value as a boolean field for log only mode.

My thought was we just that we add an additional boolean configuration field that controls whether it's in log only mode:

Screenshot 2026-04-15 at 11.00.35 AM.png (1,725×569 px, 136 KB)

What the existing patch does and design shows is now we have an additional field that tracks enablement of revision checking in two places (as the first checkbox AutoModerator is turned on is essentially the same as the enable revision checking radio button in the code) .
Or more simply put, when we toggle to enable reverting edits it's basically the same as unchecking the log only mode so I'm wondering if we even need the other selection?

Screenshot 2026-04-15 at 11.02.38 AM.png (1,092×439 px, 72 KB)

Hi! I had some product/design questions about this implementation.

When I initially implemented this I imagined that we would just have an additional parameter that we flipped to on in addition to turning on AutoModerator itself.
That is why I created the initial configuration value as a boolean field for log only mode.

My thought was we just that we add an additional boolean configuration field that controls whether it's in log only mode:

Screenshot 2026-04-15 at 11.00.35 AM.png (1,725×569 px, 136 KB)

This makes sense to me and I'm fine with doing it this way! I think the help text would need to be changed a little since we just have a single checkbox rather than two options:

If log-only mode is enabled, Automoderator will not revert any edits, and instead will log the decisions it would make at Special:Log/Automoderator.

Can we link Special:Log/Automoderator to the log page?

Can we link Special:Log/Automoderator to the log page?

Yep, that would definitely be possible, and I agree the help text will need to be updated.

Change #1270616 merged by jenkins-bot:

[mediawiki/extensions/AutoModerator@master] Add log-only mode options to AutoModerator CC

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

jsn.sherman updated the task description. (Show Details)
jsn.sherman moved this task from QA to Done on the Moderator-Tools-Team (Kanban) board.