Jump to content

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-09-02 by KCVelaga (WMF)
  • Yes instrumentation is available and the data is being captured.
  • planned 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 Yes
dashboard_search Yes
dashboard_discard_suggestion Yes
dashboard_refresh_suggestions Yes
dashboard_translation_start Yes
dashboard_translation_continue Yes
dashboard_translation_discard Yes
editor_open planned phab:T357250
editor_segment_add Yes
editor_segment_edit N
editor_segment_skip N
editor_close_warn N
editor_close planned phab:T357250
editor_error N
editor_warning_dismiss N
editor_warning_generate N
editor_warning_withdraw N
publish_attempt planned phab:T357252
publish_failure planned phab:T357252
publish_success planned 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 planned phab:T357254
publish_failure_due_to_MT_limit publish_failure planned phab:T357254
publish_failure_due_to_warnings publish_failure planned phab:T357254
publish_as_addition publish_success planned phab:T357255
publish_as_new publish_success planned phab:T357255
publish_overwrite publish_success planned phab:T357255
publish_overwrite_own publish_success planned phab:T357255
publish_to_draft_space publish_success planned phab:T357255
publish_to_user_space publish_success planned 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 Yes
contributions_menu dashboard_open N
contributions_page dashboard_open Yes
direct dashboard_open Yes
direct_preselect dashboard_open Yes
frequent_languages dashboard_open Yes
invite_new_article_creation dashboard_open Yes
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 Yes
language_selector_options dashboard_open Yes
followup_after_publishing dashboard_open Yes
return_from_search dashboard_open Yes phab:T353799
return_from_confirmation dashboard_open Yes phab:T353799
return_from_section_selection dashboard_open Yes phab:T353799
editor_close dashboard_open Yes phab:T353799
continue_published dashboard_translation_start Yes
for_later dashboard_translation_start Yes
suggestion_featured dashboard_translation_start N
suggestion_nearby dashboard_translation_start Yes
suggestion_no_seed dashboard_translation_start Yes
suggestion_recent_edit dashboard_translation_start Yes
suggestion_topic_area dashboard_translation_start N
search_result dashboard_translation_start Yes
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 Yes allowed
content_translation_session_id Yes
content_translation_session_position Yes
dt Yes
human_modification_rate
  • publish_ events
  • editor_segment_edit
planned phab:T357252
human_modification_threshold publish_ events planned
published_page_id publish_success planned
published_revision_id publish_success planned
translation_id
  • publish_ events
  • dashboard_ events
  • publish_ events: planned
  • dashboard_ events: Yes

translation_provider

  • apertium
  • blank
  • google
  • lingocloud
  • matxin
  • opusmt
  • source
  • yandex
  • youdao
  • publish_ events
  • editor_ events
planned
translation_source_language
  • publish_ events
  • editor_ events
  • dashboard_ events
  • publish_ events: planned
  • editor_ events: planned
  • dashboard_ events: Yes
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: Yes
  • lead section: N
user_global_edit_count all Yes sanitized
user_global_edit_count_bucket Yes allowed
user_is_anonymous Yes
user_name Yes sanitized
utm_campaign unknown allowed
utm_source unknown allowed
web_pageview_id Yes sanitized
web_session_id Yes sanitized
wiki_db Yes allowed

http

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

meta

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