Page MenuHomePhabricator

Further improvements to New Translation dialog
Open, LowPublic

Description

New translation dialog, developed for T111094, has gone several iterations and improvement. However, there are some things that still need polishing around the dialog:

  1. "Recently edited by you" list doesn't have time constraint to really filter recent edits (T188984). While testing, I was using some German Wikipedia editor's username. That person had one edit on English Wikipedia, back in 2008, which was displayed as recent. This is easy fix, as API accepts time as parameter. We just need to specify what we consider recent.
  2. Investigate how well redirects are working in search results and "Recently edited by you" list. Quick trial of example explained in T111094#3936783 works. Searching for "solanum lycopersicum" gives two results - Tomato and Solanum lycopersicum. Choosing second opens Tomato page in source column and sets target title to "Solanum lycopersicum".
  3. While getting items for "Recently edited by you", three most recent edits are fetched from the API. If all three are for same page, only one list item is shown in "Recently edited by you" list. We should try to display three different most recently edited pages.
  4. Main ticket, T111094, states "If the article is being translated by another user, we can indicate so (especially when we are blocking its creation, although it may be useful even if we do not)". If we decide to surface this information, this feature needs to be implemented.
  5. Adjust appearing transition T178152
  6. Show only non-translated pages in "Nearby" list - T186331. Same may apply for "Recently edited by you" - T180650. This can be approached by improving API to support such usecase, or requesting some number of nearby pages (say 5) and langlinks param for target language, which will give us information if article is available in target language. Filtering by non available will do the job.

Event Timeline

@Pginer-WMF, can you provide your inputs for:

  • 1. What time period we consider recent in this case? Week? Month? Some other value?
  • 4. Do we want to display info that other translator reserved article as his draft? It's still unclear what level of multi editor support we want to give in the future.
  • 6. Does the same apply for "Recently edited by you" list? Do we want to display only pages that don't exist in target wiki?
Pginer-WMF added a project: Epic.

@Pginer-WMF, can you provide your inputs for:

  • 1. What time period we consider recent in this case? Week? Month? Some other value?

I created a specific ticket to set a 30day time range: T188984: Set a time limit for the "Recently edited by you" suggestions for new translations

  • 4. Do we want to display info that other translator reserved article as his draft? It's still unclear what level of multi editor support we want to give in the future.

We probably want to think about this as we work on supporting users to fork existing translations. T86151 has some initial ideas that we need to refine as we enter that area of work (including the use of the new dialog to start a translation)

  • 6. Does the same apply for "Recently edited by you" list? Do we want to display only pages that don't exist in target wiki?

Yes. For these quick suggestions we ant them to be as problem-free as possible. So providing only articles that are missing in the target wiki seems the best recommendation.