User story: As a new Wikipedia editor, I want to be told that Automoderator has reverted my edit, so that I understand this was an automated action and know how to report an error.
- The talk page message text should be a translatable system message which is therefore customisable by editing the corresponding MediaWiki namespace page.
- The message heading should be defined in MediaWiki config and surfaced for customisation in wiki config.
- The edit summary should be defined in MediaWiki config and surfaced for customisation in wiki config.
The message should be posted at the bottom of the reverted user's talk page in a new section.
We should have a MediaWiki (and wiki) config variable for enabling sending the talk page message. The default should be disabled.
Variables
The following data should be available for inserting into the text:
Talk page message
- Automoderator's local username
- Revision ID of reverted edit (so a Special:Diff/ link could be constructed)
- Title of page where revert took place
- Report page name (depends on T363691: Automoderator configuration: False positive reporting page)
Heading
- Date (Month and year)
- Title of page where revert took place
Edit summary
- Title of page where revert took place
Default text
Heading
<MONTH> <YEAR>: <AUTOMODERATOR USERNAME> reverted your edit
Message content
Hello! I am [[User:<AUTOMODERATOR USERNAME>|]], an automated system which uses a machine learning model to identify and revert potentially bad edits to ensure Wikipedia remains reliable and trustworthy. Unfortunately, I reverted one of your [[Special:Diff/<DIFF ID>|recent edits]] to [[<PAGE TITLE>]]. * Because the model I use is not perfect, it sometimes reverts good edits. If you believe the change you made was constructive, please [[<REPORT PAGE NAME>|report it here]]. * [[:mw:Moderator Tools/Automoderator|Learn more]] about my software. * To learn more about editing visit your [[Special:Homepage|Newcomer Homepage]].
Edit summary
Notice of automated revert on [[<PAGE TITLE>]]


