This task is about enhancing the tool @matmarex built in T260393#6384098 for detecting when edits made with #discussiontools that make any changes to the page other than adding content.
A key principle of the [Talk pages project](https://www.mediawiki.org/wiki/Talk_pages_project) (an outcome of the [2019 Talk page consultation](https://www.mediawiki.org/wiki/Talk_pages_consultation_2019/Phase_2_report)) is making it easier and more efficient for people, across experience levels, to communicate with others on Wikipedia. To deliver on this, we are introducing new communication tools...communication tools that are required to be backwards compatible with existing Wikitext talk pages.
Core to this "backwards compatibility," is ensuring these new communication tools do not affect existing content in undesirable ways. The script Bartosz wrote enables us to detect potentially problematic diffs at scale and thus validate whether these new tool are in fact delivering on the agreement established in the Talk page consultation.
Trouble is, as the [Reply Tool](https://www.mediawiki.org/wiki/Talk:Talk_pages_project/replying) and [New Discussion Tool](https://www.mediawiki.org/wiki/Talk_pages_project/New_discussion) is made more widely available, the number of potentially problematic diffs this script identifies will likely grow beyond a single person's ability to review them, thus this task.
=== Use cases
- Potential users
-- Members of the #editing-team
//This list is not yet finalized.//
- Script can be configured to run periodically without any individual needing to manually start it
- The script's output can be read without needing to install additional libraries or interact with the command line
- The UI should make it clear the last time the script was run
**Consuming script's output**
- Each diff should have the following values associated with it
-- The wiki on which the diff was made
-- The diff's author
-- The time the edit was made
-- The URL of the diff
=== Ideas for the future
- A way to sort/ and filter the diffs based on the values that are associated with them
- A way to triage "dirty diffs." //E.g. mark "Archive" or "Investigate"//
-- The person who triaged a particular diff should be saved
- A way to "tune" the script such that categories of diffs deemed not to be harmful can be ignored in the future
- A way to calculate what % of diffs generated by the #discussiontools were deemed to be disruptive