Per the parent task - we want Automoderator to be able to run in a log-only mode. In this mode, Automoderator should make all the same decisions and follow the same logic as if it would revert the edit, but instead of reverting it should generate a log.
The scope of this task is to add the capability to generate these logs, controlled by internal configuration, which can - in the future - instead be controlled via Community Configuration.
If using the standard Log interface, the log entry could read:
00:00, 1 January 1970 Automoderator would revert edit 123456 by Alice with score 0.1234 (learn more)
Where:
- Automoderator links to the local Community Configuration page
- 123456 is the revision ID, linking to the diff for the edit to be reverted
- Alice is the username
- learn more links to https://www.mediawiki.org/wiki/Moderator_Tools/Automoderator
Acceptance criteria
- In log-only mode, Automoderator does not revert edits or send talk page messages
- In reverting mode, Automoderator does not log its decisions
- A new configuration is available to select between reverting and logging. The default is reverting.
- A log of edits that Automoderator would revert, given its current configuration on this wiki, is visible to any Wikipedia editor.
- The log entry is as above, including the Revert Risk score for that edit, to 4 decimal places




