This task involves the work of extending T257644 to create a way of tagging/categorizing edits as comments and new sections in real-time (read: as they happen)the work we did in T274216, to create a way of explicitly tagging talk page comments.
=== Implementation detailsRequirements
**Meta**
- Anytime a "qualifying edit" is saved to a talk page assign a hidden `Comment` revision tag.
- The hidden `Comment` revision tag should be applied to all "qualifying edits" regardless of the editing interface someone used to save said edit.
**Qualifying edit**
//Insert comment parser definition.//
=== Use cases
In addition to the applications/use cases described in T257644Explicitly tagging edits as comments will enable us to answer questions like the below which will help us all better understand how Discussion Tools are impacting the way people use talk pages.
- // "Of all the comments people posted in a specified period, this work would "unlock" the software's ability to send the kinds of notifications described in T254263.what percentage of comments did people use the Reply Tool to publish?"//
- //"How does the Reply Tool impact the average number of comments Junior and Senior Contributors" post on a talk page each month?"//
=== Open questions
- [ ] How should "Qualifying edits" be defined?
- [ ] How can the software tag/categorize edits as comments and new sections in real-time (read: as they happen)?
- [ ] How might this tagging happen in a way that doesn't slow down the save process?
- [ ] How/where do these tags get stored (e.g. [Special tags](https://www.mediawiki.org/wiki/Special:Tags))? //We'd need to talk with the performance team to see they're okay with this amount of data being stored.//
- [ ] In what format does Product Analytics need this comments to be stored in order for us to be able to answer questions like:
-- //"On average, on how many comments do topics started on Junior Contributor talk pages receive?"//- [ ] Is it possible to apply tags to historical edits?
=== Done
- [ ] All "Open questions" are answered