Page MenuHomePhabricator

Communicate that other users started this translation on the "new translation" dialog
Closed, DeclinedPublic


As part of the work to allow multiple users to translate the same topic (T86151), we want to surface as early as possible that multiple translations exist.

When users select an article to start a new translation we want to show a warning message. Some considerations:

  • Custom messages for one/more in-progress translations. Depending on whether one or more than one in-progress translation exists for the topic on the selected languages, different information will be used in the message:
    • When there is one in-progress version of the translation: "[Another in-progress translation] was started by <username> <time-period> ago". The time-period will be expressed in days (if it is less than 60), or months since the translation was started.
    • When there are more than one in-progres version of the translation : "[Other in-progress translations] were started by <number> users".
  • Linking to the ongoing translations. The warning message will include a link that provides access to the current in-progress translation for the topic (T214409). This will open in the same window by default, since it supports going back to the same state.
  • Not counting your own translation. When showing/counting the in-progress translations, we are only considering in-progress translations by other users. Thus, you should not get a warning if you start a translation, and later try to start a new translation for the same page. Doing so will just lead you to continue your current in-progress translation.
  • Interaction with other warning messages. Only one warning message will be shown in this context. The proposed warning message will not have priority with respect to other warnings. For example, if the user selects a page that already exists in the target wiki, that warning will be shown, and there will not be a mention of other on-going translations (which the user will get once starts the translation).
Warning when one alternative translation existsWarning when several alternative translations exists
CX-multiple-new-one.png (345×692 px, 47 KB)
CX-multiple-new-several.png (345×692 px, 46 KB)

Event Timeline

Pginer-WMF triaged this task as Medium priority.Jan 22 2019, 1:04 PM
Pginer-WMF created this task.

The main limitation for translating an article that someone else started was removed in T298244: Remove technical limit that prevents different users to translate the same topic. Now there is just a 24h block time for a topic someone else started. This seems to be providing a good balance between preventing to step on each others toes and avoiding articles to get blocked for long periods of time. With this, the current ticket may no longer be needed.