T252924 and [patch 594809](https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/594809) will add the events to the VisuallEditorFeatureUse schema we will need for the analysis we have planned in T247139.
This task is about applying those changes to all of the editing interfaces.
=== Editing interfaces needing updating
- WikiEditor = source mode on desktop
- MobileFrontend = source mode on mobile
- VisualEditor = visual editor //and// new wikitext editor on desktop; visual mode on mobile
//See for more information here: https://www.mediawiki.org/wiki/User:DLynch_(WMF)/VisualEditor/Configurations //
=== Timing
- Work on this task can begin once T254291 for additional events is resolved.
-- //See this comment for remaining action items: T254291#6314037 //
- Ideally, Editing QA can start testing this task the week of 20-July.
=== Schema changes
- Events to add: T254291
- Fields to add: T252924
=== Test instructions
# Scenarios to be tested provided in this [[ https://docs.google.com/spreadsheets/d/1txtypYKZHCiZEFnkye9LX7riF3VEippMmvN6ILs_BUQ/edit#gid=982352970&range=B152:I152 | section ]] of the QC Replying Document
# Added new column called 'Test Artifact' to provide event as seen in the browser console
# Feel free to test either logged in or logged out. If logged out, user_id=0
# Please enter values observed for the following in each Scenario:
- user_id
- user_editcount
- bucket
- integration
- platform
- editing interface
=== Observed issues
//The issues below surfaced during testing.//
| Issue | Description | Action item | Status|
|---|---|--- | ---
|#1| In Scenarios 3a and 3b ([rows 169 & 170](https://docs.google.com/spreadsheets/d/1txtypYKZHCiZEFnkye9LX7riF3VEippMmvN6ILs_BUQ/edit#gid=982352970) ), the `editor_interface` field is not being logged when editing in MobileFrontend | @DLynch to investigate |unresolved
|#2| In Scenario 2b ([row 165](https://docs.google.com/spreadsheets/d/1txtypYKZHCiZEFnkye9LX7riF3VEippMmvN6ILs_BUQ/edit#gid=982352970) ), the `editor_interface` and `editingSessionID` fields are not being logged when editing in the New Wikitext Editor |@DLynch to investigate |unresolvedRyasmeen to re-test| //fix is awaiting testing//
|#2| In Scenario 2b ([row 165](https://docs.google.com/spreadsheets/d/1txtypYKZHCiZEFnkye9LX7riF3VEippMmvN6ILs_BUQ/edit#gid=982352970) ), the `editor_interface` and `editingSessionID` fields are not being logged when editing in the New Wikitext Editor |@Ryasmeen to provide more info to investigate |not reproducible
|#3| No `VisualEditorFeatureUse` events are being logged when testing at this URL: https://nl.wikipedia.org/wiki/Gebruiker:RYasmeen_(WMF)/Kladblok?editingStatsOversample=1 | @Ryasmeen to re-test| //fix (T252925#6331377) is awaiting testing//
**Issue #1:**
=== Done
- [ ] 1. The "Events" and "Fields" are added to the VisualEditorFeatureUse schema in the following editing interfaces:
-- [ ] WikiEditor
-- [ ] MobileFrontend
-- [ ] VisualEditor
- [ ] 2. QA has determined whether the fields and events defined in the "Test instructions" above are firing as expected.