Content translation/Documentation/CX event

The content_translation_event schema is designed to model all the user-facing aspects of the Content Translation tool, including:

  • invitations and entry points
  • the dashboard and translation suggestions
  • the mobile and desktop editors
  • the publication process
  • the different flows for article and section translations

Overview of coverage

edit
Last updated: 2024-09-02 by KCVelaga (WMF)
  •   instrumentation is available and the data is being captured.
  •   instrumentation is not available, but is being planned for, at the time of the last update.
  •  N instrumentation is not available to capture the data.
edit
all event types are allowed during event santization

primary event types

edit
Name Instrumentation Phabricator ticket(s)
invite_show  N
dashboard_open  
dashboard_search  
dashboard_discard_suggestion  
dashboard_refresh_suggestions  
dashboard_translation_start  
dashboard_translation_continue  
dashboard_translation_discard  
editor_open   phab:T357250
editor_segment_add  
editor_segment_edit  N
editor_segment_skip  N
editor_close_warn  N
editor_close   phab:T357250
editor_error  N
editor_warning_dismiss  N
editor_warning_generate  N
editor_warning_withdraw  N
publish_attempt   phab:T357252
publish_failure   phab:T357252
publish_success   phab:T357252

event subtypes

edit
all event sub-types are allowed during event santization
Name Of event Instrumentation Phabricator ticket(s)
invite_translation_another_section invite_show  N
error_not_extended_confirmed_on_enwiki editor_error  N
error_translation_in_progress_elsewhere editor_error  N
warning_major_change_to_source editor_warning_  N
warning_template_not_found editor_warning_  N
warning_template_parameters_not_mapped editor_warning_  N
warning_too_much_unmodified_MT editor_warning_  N
publish_attempt_with_warnings publish_attempt  N
publish_failure_due_to_abuse_filter publish_failure   phab:T357254
publish_failure_due_to_MT_limit publish_failure   phab:T357254
publish_failure_due_to_warnings publish_failure   phab:T357254
publish_as_addition publish_success   phab:T357255
publish_as_new publish_success   phab:T357255
publish_overwrite publish_success   phab:T357255
publish_overwrite_own publish_success   phab:T357255
publish_to_draft_space publish_success   phab:T357255
publish_to_user_space publish_success   phab:T357255

event sources

edit
all event sources are allowed during event santization
Name Of event Instrumentation Phabricator ticket(s)
content_language_selector dashboard_open  
contributions_menu dashboard_open  N
contributions_page dashboard_open  
direct dashboard_open  
direct_preselect dashboard_open  
frequent_languages dashboard_open  
invite_new_article_creation dashboard_open  
invite_translate_another_section dashboard_translation_start  N
notification_deletion dashboard_open  N
notification_milestone dashboard_open  N
notification_new_recommendations dashboard_open  N
recent_edit dashboard_open  N
recent_translation dashboard_open  
language_selector_options dashboard_open  
followup_after_publishing dashboard_open  
return_from_search dashboard_open   phab:T353799
return_from_confirmation dashboard_open   phab:T353799
return_from_section_selection dashboard_open   phab:T353799
editor_close dashboard_open   phab:T353799
continue_published dashboard_translation_start  
for_later dashboard_translation_start  
suggestion_featured dashboard_translation_start  N
suggestion_nearby dashboard_translation_start  
suggestion_no_seed dashboard_translation_start  
suggestion_recent_edit dashboard_translation_start  
suggestion_topic_area dashboard_translation_start  N
search_result dashboard_translation_start  
dashboard_translation_continue editor_open  N phab:T357253
dashboard_translation_start editor_open  N phab:T357253

other fields

edit
edit
Name Applies to Instrumentation Phabricator ticket(s) Santization

access_method

  • mobile web
  • desktop
all   allowed
content_translation_session_id  
content_translation_session_position  
dt  
human_modification_rate
  • publish_ events
  • editor_segment_edit
  phab:T357252
human_modification_threshold publish_ events  
published_page_id publish_success  
published_revision_id publish_success  
translation_id
  • publish_ events
  • dashboard_ events
  • publish_ events:  
  • dashboard_ events:  

translation_provider

  • apertium
  • blank
  • google
  • lingocloud
  • matxin
  • opusmt
  • source
  • yandex
  • youdao
  • publish_ events
  • editor_ events
 
translation_source_language
  • publish_ events
  • editor_ events
  • dashboard_ events
  • publish_ events:  
  • editor_ events:  
  • dashboard_ events:  
translation_source_section
translation_source_title
translation_target_exists
translation_target_language
translation_target_section
translation_target_title
translation_type
  • section
  • article
  • lead section
  • section & article:  
  • lead section:  N
user_global_edit_count all   sanitized
user_global_edit_count_bucket   allowed
user_is_anonymous  
user_name   sanitized
utm_campaign unknown allowed
utm_source unknown allowed
web_pageview_id   sanitized
web_session_id   sanitized
wiki_db   allowed

http

edit
all fields are sanitized during the event sanitization process
Name Instrumentation
has_cookies  
method
protocol
request_headers
response_headers
status_code

meta

edit
all fields are sanitized during the event sanitization process
Name Instrumentation
domain  
dt
id
request_id
stream
uri