This task is about implementing a //hidden// [chnage tag]() for edits made with the DiscussionTools' new `source` mode with tools (T257391).
=== Use cases
In T276631 we will analyze how people are using the DiscussionTools' new `source` mode with tools (T257391). To do this analysis, we will need a way to "look at" all of the edits made with said new `source` mode in aggregate. The change tag this task is asking for should enable us to view these edits in such a way.
//Note: we would like to be able to use these hidden change tags to aggregate edits using the following tools/interfaces: `Special:Recent Changes`, quarry (e.g. https://quarry.wmflabs.org/query/48614), and superset (e.g. https://superset.wikimedia.org/r/509).//
=== Requirements
- A //hidden// change tag that is "associated with" all edits made in either the New Discussion Tool's or Reply Tool's `source` mode with tools.
- This //hidden// chnage tag should be called: `discussiontools-enhanced-source`
- The existing New Discussion Tool and Reply Tool change tags (T242184, T260467) should continue to work as they currently do [i][ii]
=== Test instructions
1. Visit: https://en.wikipedia.beta.wmflabs.org/wiki/Special:Preferences#mw-prefsection-editing
2. Ensure the experimental source mode setting is turned on within the `Discussion pages` section
3. Navigate to any talk page on Beta
4. Open the Reply Tool
5. Switch to the tool's `source` mode
6. Verify the new tools are visible (linking and pinging)
7. Post a comment
8. Visit the History page
9. Confirm the following tags are associated with the edit you made in "Step 7": `Reply` and `Source`
10. Visit `Special:Recent changes`
11, Type `#discussiontools-enhanced-source`
12. Press {key enter}
13. ✅ See the edit you posted in "Step 7." appears
=== Open questions
- [x] 1. What happens to this new tag once we converge on a single source mode?
-- As part of converging on a single `source` mode in T276607, we'll deprecate the hidden tag this task will have implemented and instead use the existing `discussiontools-source` tag. The work to deprecate this tag will happen in this ticket: T280066. //See: /T279157#6995881.//
=== Done
- [ ] `===Requirements` are implemented
- [ ] All `===Open questions` are answered
---
i. Edits made with the New Discussion Tool and Reply Tool have the following tags visibly associated with them: `New topic` and `Reply`, respectively
i. Edits made with the New Discussion Tool's and Reply Tool's source and visual modes //also// have the following tags visibly associated with them: `Source` and `Visual`, respectively