Page MenuHomePhabricator

Expand Language key metrics dashboard to cover section translations
Closed, ResolvedPublic

Description

The Language team is working on expanding ContentTranslation to support translating sections, both on desktop and mobile (T243495). When section translation is released, the team will want to track its adoption on their key metrics dashboard in Superset. They will add a revision tag so we will be able to see section translations in the edits_hourly dataset.

The section translation metrics should distinguish between:

  • translations that start a new page and those that add to an existing page
  • mobile translations and desktop translations
  • main namespace vs. others (i.e., sandbox)

Event Timeline

@Pginer-WMF, when might section translation be released? I imagine we want to do get this done around the same time.

@Pginer-WMF, when might section translation be released? I imagine we want to do get this done around the same time.

We are working on a proof-of-concept during this quarter. Even if it is not exposed to users, as soon as the one-section mode for Content Translation (T234323) is ready, we can have a few test translations tagged as "section-translation".

Having the graphs ready early would be good to track the impact of work from the beginning, but I imagine that makes more sense once there are at least a few test edits tagged as "section-translation".

We are working on a proof-of-concept during this quarter. Even if it is not exposed to users, as soon as the one-section mode for Content Translation (T234323) is ready, we can have a few test translations tagged as "section-translation".

Okay, we'll try for the current quarter!

kzimmerman subscribed.

Due to time left in the quarter & other priorities, moving to next quarter.

I've added some initial graphs and laid the foundation for some more. I'll continue this next week, when the data should start coming in. That will make it much easier to set up complex visualizations.

Pau reports the dashboard is currently showing errors:

superset.wikimedia.org_superset_dashboard_119_.png (1×1 px, 220 KB)

Pau reports the dashboard is currently showing errors:

...but it loads fine for me. Hmm.

Pau reports the dashboard is currently showing errors:

...but it loads fine for me. Hmm.

I can confirm that now it works for me too.

I've updated the section translations dashboard to include filters to view the data by the following dimensions:

  • page namespace (currently only content translations event recorded to date)
  • platform (currently only mobile web events recorded to date)
  • creates_new_page (true if translations that start a new page and false if it was added to an existing page)
  • time range

A couple of notes about the data:

  • The Monthly section translations by wiki" and "Section translations at all wikis, total" are based on edits_hourly database and will update monthly. We should have September data next week
  • The "Monthly section translations by wiki" chart currently only shows section translations on Bengali Wikipedia as that is the only wiki where it was deployed as of the last update. This chart is not limited to any specific wikis and will update to reflect any additional wikis as we continue to deploy section translations.
  • For real-time data, @nshahquinn-wmf included an sql query "Real-time daily section translations per wiki" which can be run to obtain more recent data. I updated the query to include information on whether the translation created a new page and the page namespace.

@Pginer-WMF - Let me know if you have any suggested changes or questions.

I've updated the section translations dashboard to include filters to view the data by the following dimensions:

  • page namespace (currently only content translations event recorded to date)
  • platform (currently only mobile web events recorded to date)
  • creates_new_page (true if translations that start a new page and false if it was added to an existing page)
  • time range

A couple of notes about the data:

  • The Monthly section translations by wiki" and "Section translations at all wikis, total" are based on edits_hourly database and will update monthly. We should have September data next week
  • The "Monthly section translations by wiki" chart currently only shows section translations on Bengali Wikipedia as that is the only wiki where it was deployed as of the last update. This chart is not limited to any specific wikis and will update to reflect any additional wikis as we continue to deploy section translations.
  • For real-time data, @nshahquinn-wmf included an sql query "Real-time daily section translations per wiki" which can be run to obtain more recent data. I updated the query to include information on whether the translation created a new page and the page namespace.

@Pginer-WMF - Let me know if you have any suggested changes or questions.

This is great. Thanks for the updates.
Some of the filters will become more useful as new features are available in the tool. However, the "creates_new_page" has already been useful to identify that there is a ~50% split between new articles started and those expanded with a new section.