Page MenuHomePhabricator

Remove access to old dashboard and related code
Closed, ResolvedPublic

Description

During the deployment of the unified dashboard across all wikis T386719 in March, we created a way for users to switch between the old and new through the announcement banner and the access previous version link.

The last part of the release plan includes removing access to the old dashboard and its related code.

Target Timeline: May 2025

Related tasks:
T386118: Banners on old/new dashboards about upcoming transition
T386117: Allow switching between desktop and unified dashboards

Derived Requirement
Remove all user access points to the old dashboard, including the "Access previous version" link and related banner toggles, and delete any related backend code paths supporting the legacy dashboard.

Test Steps

Test Case 1: Ensure 'Access previous version' link is removed from unified dashboard

  1. Open the unified dashboard on beta wiki using the Minerva skin.
  2. Look for any "Access previous version" or similar link in the header or footer.
  3. ✅❓❌⬜ AC1: Confirm that the "Access previous version" link is not visible anywhere on the dashboard.

Test Case 2: Verify absence of old dashboard banner switch

  1. Navigate to the unified dashboard.
  2. Check if a banner is present that allows switching between old and new dashboards.
  3. ✅❓❌⬜ AC2: Confirm that there is no banner allowing users to switch to the old dashboard.

Test Case 3: Attempt direct navigation to old dashboard URL

  1. Manually enter the old dashboard’s URL (e.g., Special:ContentTranslationStats?cx-dashboard=desktop or known legacy paths).
  2. Observe the result.
  3. ✅❓❌⬜ AC3: Confirm that the old dashboard URL does not load and either redirects to the unified dashboard or shows an error message indicating the page does not exist.

QA Results - Test Wiki/PROD

ACStatusDetails
1T389970#10888658
2T389970#10888658
3T389970#10888658

Event Timeline

Change #1130703 had a related patch set uploaded (by Nikerabbit; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Remove usage of "ContentTranslationEnableSectionTranslation" config var

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

Change #1130703 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Remove usage of "ContentTranslationEnableSectionTranslation" config var

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

Change #1146020 had a related patch set uploaded (by Sbisson; author: Sbisson):

[operations/mediawiki-config@master] Remove unused wgContentTranslationEnableSectionTranslation

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

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

[mediawiki/extensions/ContentTranslation@master] Unified dashboard: Remove entrypoints to old CX dashboard

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

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

[mediawiki/extensions/ContentTranslation@master] SpecialContentTranslation.php: Remove support for old CX dashboard

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

Change #1146677 abandoned by Nik Gkountas:

[mediawiki/extensions/ContentTranslation@master] SpecialContentTranslation.php: Remove support for old CX dashboard

Reason:

Squashed into I928d59384934a6f4c6984c5d18399cd41b12e9b2

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

Change #1146639 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX: Remove entrypoints and disable access to old dashboard

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

Change #1146020 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove unused wgContentTranslationEnableSectionTranslation

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

Mentioned in SAL (#wikimedia-operations) [2025-05-22T14:31:20Z] <sbisson@deploy1003> Started scap sync-world: Backport for [[gerrit:1146020|Remove unused wgContentTranslationEnableSectionTranslation (T389970)]]

Mentioned in SAL (#wikimedia-operations) [2025-05-22T14:33:16Z] <sbisson@deploy1003> sbisson: Backport for [[gerrit:1146020|Remove unused wgContentTranslationEnableSectionTranslation (T389970)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-05-22T14:40:56Z] <sbisson@deploy1003> Finished scap sync-world: Backport for [[gerrit:1146020|Remove unused wgContentTranslationEnableSectionTranslation (T389970)]] (duration: 09m 36s)

Change #1150746 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250526

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

Change #1150746 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250526

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

@ngkountas, Confirmed that the "Access previous version" link, banner, and old dashboard URL no longer work, as seen in the GIFs below. I will move this to Sign-off. Thanks for all your work!

Test Result - Test Wiki/ PROD

Status: ✅ PASS
Environment: Test Wiki/ PROD
OS: macOS Sequoia 15.5
Browser: Chrome 136
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://test.wikipedia.org/w/index.php?title=Special:ContentTranslation&filter-type=automatic&filter-id=previous-edits&active-list=suggestions&from=es&to=en&cx-dashboard=desktop
https://bn.wikipedia.org/w/index.php?title=Special:ContentTranslation&filter-type=automatic&filter-id=previous-edits&active-list=draft&from=en&to=bn&cx-dashboard=desktop

Test Steps

Test Case 1: Ensure 'Access previous version' link is removed from unified dashboard

  1. Open the unified dashboard on beta wiki using the Minerva skin.
  2. Look for any "Access previous version" or similar link in the header or footer.
  3. AC1: Confirm that the "Access previous version" link is not visible anywhere on the dashboard.
Test Wiki- Desktop & MobileBn Prod- Desktop &Mobile
2025-06-05_10-44-49.mp4.gif (914×1 px, 2 MB)
2025-06-05_10-46-58.mp4.gif (902×1 px, 1 MB)

Test Case 2: Verify absence of old dashboard banner switch

  1. Navigate to the unified dashboard.
  2. Check if a banner is present that allows switching between old and new dashboards.
  3. AC2: Confirm that there is no banner allowing users to switch to the old dashboard.

SEE AC1

Test Case 3: Attempt direct navigation to old dashboard URL

  1. Manually enter the old dashboard’s URL (e.g., Special:ContentTranslationStats?cx-dashboard=desktop or known legacy paths).
  2. Observe the result.
  3. AC3: Confirm that the old dashboard URL does not load and either redirects to the unified dashboard or shows an error message indicating the page does not exist.

SEE AC1

GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF moved this task from Needs QA to Design Signoff on the LPL Hypothesis board.

Change #1172335 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] Remove banner that allowed access to the old dashbaord

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

Change #1172335 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Remove banner that allowed access to the old dashbaord

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

Change #1172679 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250725

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

Change #1172684 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@wmf/1.45.0-wmf.11] CX3 Build 1.0.0+20250725

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

Change #1172684 abandoned by Sbisson:

[mediawiki/extensions/ContentTranslation@wmf/1.45.0-wmf.11] CX3 Build 1.0.0+20250725

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

Change #1172679 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250725

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