Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In Progress | KCVelaga_WMF | T350483 Track usage of MinT in the Translate extension | |||
In Progress | Wangombe | T364460 Implement the instrumentation to track usage of MinT in the Translate extension |
Event Timeline
Change #1062367 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/TranslationNotifications@master] NotificationMessageBuilder: add `action_source` query param
Change #1046661 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] MinT: Add event logging to Translate
Change #1062367 merged by jenkins-bot:
[mediawiki/extensions/TranslationNotifications@master] NotificationMessageBuilder: add `action_source` query param
Change #1046661 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] MVP: Add event logging to Special:Translate
T369687 has been resolved. Following this comment, we should now be able to proceed with implementing a number of other events that would eventually lead to a holistic picture when tracking usage of MinT in the Translate extension.
As a caveat, it was pointed out that a number of events and the related work items around them may not directly point at MinT instrumentation, though related. I think this is fine as long as it serves the end goal. There's a new configuration parameter, TranslateEnableEventLogging, that is disabled by default on wikis that have the Translate Extension installed. I expect another configuration parameter that is specific to MinT in upcoming patches.
T369687 has been resolved. Following this comment, we should now be able to proceed with implementing a number of other events that would eventually lead to a holistic picture when tracking usage of MinT in the Translate extension.
Yes, I have added a couple of columns to the schema (E & F) with information about what needs to changed from action_context to the schema fragment fields.
As a caveat, it was pointed out that a number of events and the related work items around them may not directly point at MinT instrumentation, though related. I think this is fine as long as it serves the end goal.
Yes, I think at this point the schema is more for the Translate extension, rather than specifically MinT only, as some of other events will have to be tracked for us to get a better understanding of the user interactions.
- schemaID = /analytics/product_metrics/web/translation/1.0.0
- streamName = mediawiki.product_metrics.translate_extension
A quick note (after I heard back from the Metrics Platform team), all events should have the translation object. If an event is not using any of the translation fields, it can be an empty object {}. This will ensure that those events pass EventGate validation.
Change #1078542 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Event Logging: Add 'message_prompt' action
Change #1078615 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Event Logging: Add 'switch_translate_content' action
Change #1079806 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] TUX event logging: User closes the translation editor
Change #1079807 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] TUX event logging: User copies source text
Change #1082692 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Event Logging: Add 'review' action
Change #1082726 had a related patch set uploaded (by Wangombe; author: Wangombe):
[operations/mediawiki-config@master] Translate Event Logging: Enable using $wgTranslateEnableEventLogging
Change #1084043 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Event Logging: Translation editor of a message is opened
Change #1079807 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] TUX event logging: User copies source text
Change #1085263 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] TUX event logging: User changes the translation view/mode
Change #1085309 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] TUX event logger: User pastes the text
Change #1085309 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Event Logging: User pastes the text
Change #1079806 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Event Logging: User closes the translation editor
Change #1082692 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Event Logging: Add 'review' action
Change #1085263 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Event Logging: User changes the translation view/mode
Change #1082726 merged by jenkins-bot:
[operations/mediawiki-config@master] Translate Event Logging: Enable using $wgTranslateEnableEventLogging
Mentioned in SAL (#wikimedia-operations) [2024-11-19T08:04:34Z] <urbanecm@deploy2002> Started scap sync-world: Backport for [[gerrit:1082726|Translate Event Logging: Enable using $wgTranslateEnableEventLogging (T364460)]], [[gerrit:1092258|CirrusSearch: enable offloading weighted tags via EventBus (T378983 T377150)]], [[gerrit:1091197|[GrowthExperiments] Add virtual domain config (T354939)]]
Mentioned in SAL (#wikimedia-operations) [2024-11-19T08:12:12Z] <urbanecm@deploy2002> urbanecm, wangombe, pfischer: Backport for [[gerrit:1082726|Translate Event Logging: Enable using $wgTranslateEnableEventLogging (T364460)]], [[gerrit:1092258|CirrusSearch: enable offloading weighted tags via EventBus (T378983 T377150)]], [[gerrit:1091197|[GrowthExperiments] Add virtual domain config (T354939)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)
Mentioned in SAL (#wikimedia-operations) [2024-11-19T08:29:16Z] <urbanecm@deploy2002> Finished scap sync-world: Backport for [[gerrit:1082726|Translate Event Logging: Enable using $wgTranslateEnableEventLogging (T364460)]], [[gerrit:1092258|CirrusSearch: enable offloading weighted tags via EventBus (T378983 T377150)]], [[gerrit:1091197|[GrowthExperiments] Add virtual domain config (T354939)]] (duration: 24m 42s)
Change #1092915 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Event Logging: A translation suggestion is shown to the user [DNM}
Change #1092921 had a related patch set uploaded (by Wangombe; author: Wangombe):
[mediawiki/extensions/Translate@master] Event Logging: User accepts a translation suggestion[DNM]