Content translation/Documentation/CX event

From mediawiki.org

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-01-22 by KCVelaga (WMF)

event information related fields[edit]

all event types are allowed during event santization

primary event types[edit]

Name Status Phabricator ticket(s)
invite_show
dashboard_open active
dashboard_search active
dashboard_discard_suggestion active
dashboard_refresh_suggestions active
dashboard_translation_start active
dashboard_translation_continue active
dashboard_translation_discard active
editor_open
editor_segment_add active
editor_segment_edit
editor_segment_skip
editor_close_warn
editor_close
editor_error
editor_warning_dismiss
editor_warning_generate
editor_warning_withdraw
publish_attempt
publish_failure
publish_success

event subtypes[edit]

all event sub-types are allowed during event santization
Name Of event Status Phabricator ticket(s)
invite_translation_another_section not yet instrumented
error_not_extended_confirmed_on_enwiki editor_error
error_translation_in_progress_elsewhere editor_error
warning_major_change_to_source editor_warning_
warning_template_not_found editor_warning_
warning_template_parameters_not_mapped editor_warning_
warning_too_much_unmodified_MT editor_warning_
publish_attempt_with_warnings publish_attempt
publish_failure_due_to_abuse_filter publish_failure
publish_failure_due_to_MT_limit publish_failure
publish_failure_due_to_warnings publish_failure
publish_as_addition publish_success
publish_as_new publish_success
publish_overwrite publish_success
publish_overwrite_own publish_success
publish_to_draft_space publish_success
publish_to_user_space publish_success
event sources[edit]
all event sources are allowed during event santization
Name Of event Status Phabricator ticket(s)
content_language_selector dashboard_open active
contributions_menu not yet instrumented
contributions_page dashboard_open active
direct dashboard_open active
direct_preselect dashboard_open active
editor_close dashboard_open active
frequent_languages dashboard_open active
invite_new_article_creation dashboard_open active
invite_translate_another_section not yet instrumented
notification_deletion not yet instrumented
notification_milestone not yet instrumented
notification_new_recommendations not yet instrumented
recent_edit not yet instrumented
recent_translation dashboard_open active
continue_published dashboard_translation_start active
for_later not yet instrumented
suggestion_featured not yet instrumented
suggestion_nearby dashboard_translation_start active
suggestion_no_seed dashboard_translation_start active
suggestion_recent_edit dashboard_translation_start active
suggestion_topic_area not yet instrumented
search_result dashboard_translation_start active
dashboard_translation_continue not yet instrumented
dashboard_translation_start not yet instrumented
language_selector_options dashboard_open not yet instrumented
followup_after_publishing dashboard_open not yet instrumented

other fields[edit]

Name Status Phabricator ticket(s) Santization
access_method no
content_translation_session_id no
content_translation_session_position no
dt no
(http) has_cookies yes
(http) method yes
(http) protocol yes
(http) response_headers yes
(http) status_code yes
human_modification_rate no
human_modification_threshold no
(meta) domain yes
(meta) dt yes
(meta) id yes
(meta) request_id yes
(meta) stream yes
(meta) uri yes
published_page_id no
published_revision_id no
translation_id no
translation_provider no
translation_source_language no
translation_source_section no
translation_source_title no
translation_target_exists no
translation_target_language no
translation_target_section no
translation_target_title no
translation_type no
user_global_edit_count yes
user_global_edit_count_bucket no
user_is_anonymous no
user_name yes
utm_campaign no
utm_source no
web_pageview_id yes
web_session_id yes
wiki_db no