Page MenuHomePhabricator

[v.2] Allow to start a new article using Content translation when coming from an external automatic translation
Open, MediumPublic

Description

When a page is delivered through an external translation service, we still want to provide a way for users to contribute a local version of the article. For cases where users want to create a new local page, they can benefit from using ContentTranslation.

Currently, when the local page does not exist, External Guidance users going through the contribution path are shown a "Create a new page" view (T212325), where they can edit the page title before it is corrected. This ticket proposes to extend such view (only on desktop) to incorporate one more choice about how to start with the following options:

  • "Start from a translation" will start a new translation using Content Translation. This will be the default option when the choices are available.
  • "Start from scratch" will lead the user to Visual editor to start the new page, as currently happens.

Content translation can provide support for making a user-supervised translation, but it is currently only available on desktop and for the creation of new pages.

Design details

How to start

  • Start from a translation. Automatic translation will be used as a starting point. You need a good command of both <source-language> and <target-language> to review and improve the initial translation.
  • Start from scratch. Start with a blank page to create the article.

Note that the "How to start" section should only be visible on desktop and for new page creations. Thus, it should be hidden for both (a) the "Create a new page" view on mobile, and (a) the "Create a new page" view when the user types a page name that already exists, as illustrated below:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 20 2018, 10:23 AM
Pginer-WMF triaged this task as Medium priority.Dec 20 2018, 10:24 AM
Pginer-WMF moved this task from Needs Triage to Enhancements on the ContentTranslation board.
Pginer-WMF updated the task description. (Show Details)Dec 20 2018, 10:28 AM
Pginer-WMF renamed this task from Allow to start a new article using Content translation wen coming from an external automatic translation to Allow to start a new article using Content translation when coming from an external automatic translation.Dec 20 2018, 10:56 AM
Arrbee renamed this task from Allow to start a new article using Content translation when coming from an external automatic translation to [v.2] Allow to start a new article using Content translation when coming from an external automatic translation.Dec 20 2018, 2:52 PM
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF updated the task description. (Show Details)Feb 6 2019, 1:42 PM
santhosh claimed this task.Feb 26 2019, 9:37 AM

Change 493007 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ExternalGuidance@master] WIP: Allow to start a new article using Content translation

https://gerrit.wikimedia.org/r/493007

santhosh moved this task from Backlog to In Review on the ExternalGuidance board.Feb 27 2019, 6:14 AM

Change 493007 merged by jenkins-bot:
[mediawiki/extensions/ExternalGuidance@master] Allow to start a new article using Content translation

https://gerrit.wikimedia.org/r/493007

  • "Start from a translation" will start a new translation using Content Translation. This will be the default option when the choices are available.

I noticed in the current implementation that the translate option is not shown as the default one.

Pginer-WMF added a comment.EditedMar 8 2019, 11:48 AM

Another issue I noticed is that when starting a translation for a Simple English article, I got directed to Content translation with "English" selected, where it should be "Simple English" instead.

I noticed that this issue also happens when the option to edit the original article (where the English version is edited instead of the Simple English one)

Change 495825 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ExternalGuidance@master] Create page: Make CX as default option if available

https://gerrit.wikimedia.org/r/495825

Change 495825 merged by jenkins-bot:
[mediawiki/extensions/ExternalGuidance@master] Create page: Make CX as default option if available

https://gerrit.wikimedia.org/r/495825

santhosh moved this task from In Review to Done on the ExternalGuidance board.Mar 14 2019, 5:30 AM