Page MenuHomePhabricator

Indicate when a page is automatically translated
Closed, ResolvedPublic

Description

When a page is delivered through an external translation service, we want to make it clear that the result provided is an automatic translation.

To support this, the following are proposed for the delivered content:

  • Remove the usual page actions. Page actions (language switcher, edit, download...) will be hidden/removed,
  • Show an "Automatic translation" indicator. An indicator with a robot icon (T212299) and an "Automatic translation" label (shown in the target language of the translation) will be shown in the page actions bar.
  • Adjust the page actions bar styling. The adjusted page action bar with the new indicators will use Base90 (#F8F9FA) as a background for additional differentiation.

When making these changes, we should avoid as much as possible content to jump back and forth due to the addition/removal/changes of elements.

The proposed changes are illustrated below:

Translated page changes summary.png (635×920 px, 128 KB)

Note that the proposed designs are built on top of the mobile version of the content (T212197), and other follow-up tickets will add more indicators (T212238), information and contribution paths (T212300).

Translated page.png (944×400 px, 233 KB)
Translated page.png (768×1 px, 308 KB)

Event Timeline

Change 480903 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ExternalGuidance@master] Hide all edit icons in the page when context is detected

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

Change 480903 merged by jenkins-bot:
[mediawiki/extensions/ExternalGuidance@master] Hide all edit icons in the page when context is detected

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

This looks good. I'm closing the ticket, but there are a couple of small styling adjustments that I captured as follow-ups: