Page MenuHomePhabricator

Enable the Unified Content Translation Dashboard on a test wiki
Closed, ResolvedPublic

Description

The new translation dashboard, developed as part of the mobile experience for Content Translation, is getting ready to become the unified dashboard to be used on both mobile and desktop. As a result, there will be just one dashboard and it will direct users to the desktop or mobile editors depending on the user platform (T328936).

This ticket proposes to enable the new unified dashboard on a test wiki to try this new approach before it goes to production wikis. The test wiki can be Test Wikipedia and/or other test instances where the tool can be tested on both mobile and desktop (i.e., Content and Section Translation must be available).

Event Timeline

Pginer-WMF raised the priority of this task from Medium to High.Aug 31 2023, 9:24 AM
ngkountas changed the task status from Open to In Progress.Sep 4 2023, 1:40 PM
ngkountas claimed this task.

Change 955913 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX: Add support for forcing unified dashboard through URL parameter

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

The task description proposes to enable the new unified dashboard on a test wiki so that we can test it before shipping it to production. Enabling such a feature only on a specific wiki (or a group of wikis) would require adding a new configuration parameter. However, deployments for such configuration parameters have been known to be time-consuming and cumbersome. For this reason, at least as an initial approach, we have adopted a more lightweight and flexible approach, that is enabling the unified dashboard by setting an appropriate URL parameter. This will be enough for us to test the features we need, for now. If needed, we can add the configuration parameter in the future.

Change 955913 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX: Add support for forcing unified dashboard through URL parameter

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

@ngkountas per your comment above can you pls give an example of the url parameter for the unified dashboard ?

The URL parameter is named "unified-dashboard". Using this URL (https://el.wikipedia.org/w/index.php?title=Special:ContentTranslation&unified-dashboard=true&from=en&to=el) we can verify that the unified dashboard is indeed displayed when this URL parameter is set to true.

Test status : QA PASS

Unified Dashboard on a test wiki

Screenshot 2023-10-02 at 11.20.53 PM.png (914×1 px, 165 KB)

Change 970424 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX: Add configuration parameter for unified dashboard enablement

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

Change 970424 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX: Add configuration parameter for unified dashboard enablement

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

Change 973170 had a related patch set uploaded (by KartikMistry; author: KartikMistry):

[operations/mediawiki-config@master] testwiki: Enable the Unified Content Translation Dashboard

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

Change 973170 merged by jenkins-bot:

[operations/mediawiki-config@master] testwiki: Enable the Unified Content Translation Dashboard

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

Mentioned in SAL (#wikimedia-operations) [2023-11-20T08:07:05Z] <kartik@deploy2002> Started scap: Backport for [[gerrit:973170|testwiki: Enable the Unified Content Translation Dashboard (T337915)]]

Mentioned in SAL (#wikimedia-operations) [2023-11-20T08:08:20Z] <kartik@deploy2002> kartik: Backport for [[gerrit:973170|testwiki: Enable the Unified Content Translation Dashboard (T337915)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2023-11-20T08:18:54Z] <kartik@deploy2002> Finished scap: Backport for [[gerrit:973170|testwiki: Enable the Unified Content Translation Dashboard (T337915)]] (duration: 11m 49s)