Page MenuHomePhabricator

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

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

Start options with translation.png (768×1 px, 70 KB)

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:

Start options (title exists).png (768×1 px, 41 KB)

Event Timeline

Pginer-WMF moved this task from Needs Triage to Enhancements on the ContentTranslation board.
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

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

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.

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

Aklapper added a subscriber: santhosh.

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)

Pginer-WMF claimed this task.