Page MenuHomePhabricator

AutoModerator: Error when no false reporting page is set and talk page message is enabled
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Enable AutoModerator and enable talk page message sending. Do not add a false positive reporting page.
  • Make edits to trigger AutoModerator.

What happens?:
Error in the job runner

What should have happened instead?:

  • Error should be handled
  • When saving the CC form, validate that when the talk page message is enabled, then a false positive reporting page should also be set.

Event Timeline

DMburugu moved this task from Estimated to Kanban on the Moderator-Tools-Team board.
• Scardenasmolinar changed the task status from Open to In Progress.Jul 25 2025, 3:33 AM
• Scardenasmolinar claimed this task.

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

[mediawiki/extensions/AutoModerator@master] AutoModerator CC: Add validation on talk page and false positive fields

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

@Scardenasmolinar

While testing this, I realized it's technically possible to save a false report page that doesn't exist.

See screenshot below:

Screenshot 2025-07-29 at 8.32.15 AM.png (1,037×211 px, 18 KB)

I feel like this should be taken care of on the Community Config side though since I imagine other folks are going to want to use the same Page Title validation?

@Scardenasmolinar

While testing this, I realized it's technically possible to save a false report page that doesn't exist.

See screenshot below:

Screenshot 2025-07-29 at 8.32.15 AM.png (1,037×211 px, 18 KB)

I feel like this should be taken care of on the Community Config side though since I imagine other folks are going to want to use the same Page Title validation?

I was able to validate that the page exists. Thanks for pointing that out!

Change #1173507 merged by jenkins-bot:

[mediawiki/extensions/AutoModerator@master] AutoModerator CC: Add validation on talk page and false positive fields

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

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

Happily there is nothing to QA here since this exception was never raised in production :-)