Page MenuHomePhabricator

Allow configuring talk page messages for registered and unregistered users separately
Closed, ResolvedPublic5 Estimated Story Points

Description

This is a request we received from one of our pilot wikis - they would like to be able to have Automoderator send talk page messages to registered users, but not send them to unregistered users.

Acceptance Criteria

  • Create community configuration boolean field for "Don't send talk page messages to anonymous/temp users" (wording TBD)
  • add guard clause to early return if true before sending talk page message
  • maintain current behavior by default
  • add variable to documentation at https://www.mediawiki.org/wiki/Extension:AutoModerator

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Samwalton9-WMF renamed this task from Allow configuring talk page messages separately for registered and unregistered users separately to Allow configuring talk page messages for registered and unregistered users separately.Aug 5 2025, 1:02 PM

Change #1199077 had a related patch set uploaded (by Dillon; author: Dillon):

[mediawiki/extensions/AutoModerator@master] Add config for sending talk page messages to named users only

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

We probably shouldn't write "anonymous or temporary" - soon all non logged in users will be temporary accounts. I think rewriting the button label could be self-explanatory, without requiring help text? Open to thoughts.

Only send talk pages to registered users

We probably shouldn't write "anonymous or temporary" - soon all non logged in users will be temporary accounts. I think rewriting the button label could be self-explanatory, without requiring help text? Open to thoughts.

Only send talk pages to registered users

It will be sending messages or? So 'Only send talk page messages to registered users'? Or both of them combined 'Send talk page messages to registered users only'?

We probably shouldn't write "anonymous or temporary" - soon all non logged in users will be temporary accounts. I think rewriting the button label could be self-explanatory, without requiring help text? Open to thoughts.

Only send talk pages to registered users

It will be sending messages or? So 'Only send talk page messages to registered users'? Or both of them combined 'Send talk page messages to registered users only'?

Ha, yep, I missed a word. 'Only send talk page messages to registered users' sounds good to me.

Sounds good! I would recommend switching 'only' to the end of the sentence, as the flow 'Send talk page messages to registered users only' make the action, object, and restriction clear for translators.

Change #1199077 merged by jenkins-bot:

[mediawiki/extensions/AutoModerator@master] Add config for sending talk page messages to named users only

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

@Nemoralis I wanted to let you know about this new Automoderator feature. It was requested as part of the post-deployment survey we ran, from a user on az.wiki.

The feature adds a new configuration option, "Send talk page messages to registered users only", which prevents talk page messages from being sent to unregistered users.

Samwalton9-WMF moved this task from QA to Done on the Moderator-Tools-Team (Kanban) board.

This hasn't been enabled anywhere yet. Marking as resolved and we can open a new ticket if there are issues when a wiki does start using it.