Page MenuHomePhabricator

Update the Section translation switch behaviour
Closed, ResolvedPublic

Description

Currently the section translation feature(Also the CX3) can be enabled using the configuration ContentTranslationVueDashboard. But this has mutliple problems

  1. Though the vue implementation started as dashboard migraiton, the name ContentTranslationVueDashboard does not represent the section translation feature.
  2. We have not completed the dashboard but we worked on section translation, that can be started from an entrypoint(URL based. with sx=true param). So the config value need renaming
  3. Once SX is enabled, we cannot get CX2 dashboard. This is a bug to fix so that in a wiki, we can have section translation and contrent translation coexist

Proposed solution:

  1. Rename ContentTranslationVueDashboard to ContentTranslationSectionTranslation
  2. If ContentTranslationSectionTranslation is enabled AND if url has param sx=true, give section translation. Otherwise go to CX2 workflow

Event Timeline

Change 657545 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] CX-SX Switch: Enable CX on desktop and SX on mobile devices

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

Change 657545 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] CX-SX Switch: Enable CX on desktop and SX on mobile devices

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