Page MenuHomePhabricator

CX Unified Dashboard: Number of languages where article present is not accurate
Closed, ResolvedPublicBUG REPORT

Description

As shown in below image, the number of languages where the Ronald E. Asher article present is 2. However, This article is present in 3 languages at the time of writing this - English, Malayalam, Egyptian Arabic. Expected to render 3 there.

image.png (754×1 px, 54 KB)

Derived Requirement

Ensure that the CX Unified Dashboard accurately displays the total number of languages in which an article exists, based on live interlanguage link data (e.g., Wikidata or sitelinks), so that users see the correct count.

Test Steps

Test Case 1: Verify accurate language count for articles in CX Unified Dashboard

  1. Navigate to the CX Unified Dashboard on beta/prod.
  2. Search for or locate the article *Ronald E. Asher* in the dashboard interface.
  3. Verify the number of languages shown for that article.
  4. ✅❓❌⬜ AC1: Confirm that the number of languages listed is accurate and matches the actual number of languages the article exists in (e.g., 3 for *Ronald E. Asher* if it's in English, Malayalam, and Egyptian Arabic).

QA Results - PROD

ACStatusDetails
1T387109#10880656

Event Timeline

Nikerabbit moved this task from Needs Triage to Bugs on the ContentTranslation board.

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

[mediawiki/extensions/ContentTranslation@master] Show article language count including current version (langlinks+1)

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

Change #1137282 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Show article language count including current version (langlinks+1)

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

Change #1139523 had a related patch set uploaded (by Eamedina; author: Eamedina):

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

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

Change #1139523 merged by jenkins-bot:

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

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

Test status: QA PASS

three(3) languages are rendered

The number of languages shows correctly on the Confirm step. Notice however that this creates an inconsistency with the information shown at the Search step. Below, you can see the two steps: searching for the article title shows the first result with "2 languages" indicator, and taping on it opens the Confirm step with "3 languages" indicator:

SearchConfirm
bn.wikipedia.org_w_index.php_title=Special_ContentTranslation&filter-type=automatic&filter-id=previous-edits&active-list=suggestions&from=en&to=ko(Wiki Tablet).png (600×768 px, 47 KB)
bn.wikipedia.org_w_index.php_title=Special_ContentTranslation&filter-type=automatic&filter-id=previous-edits&active-list=suggestions&from=en&to=ko(Wiki Tablet) (1).png (650×768 px, 56 KB)

Not sure if this is worth another iteration or a separate ticket.

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

[mediawiki/extensions/ContentTranslation@master] New translation search: show total number of article languages

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

Change #1144614 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] New translation search: show total number of article languages

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

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

@SBisson Confirmed that the number of languages listed is accurate and matches the actual number of languages the article exists in (e.g., 3 for *Ronald E. Asher* if it's in English, Malayalam, and Egyptian Arabic) as seen in the screenshots below. I will move this to Sign-off. Thanks for all your work!

Test Result - Prod

Status: ✅ PASS
Environment: PROD
OS: macOS Sequoia 15.6
Browser: Chrome 136
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://en.wikipedia.org/w/index.php?title=Special:ContentTranslation&active-list=draft&campaign=ulsaddlanguages&filter-id=previous-edits&filter-type=automatic&from=en&to=ru&page=Ronald%20E.%20Asher#/sx

Test Steps

Test Case 1: Verify accurate language count for articles in CX Unified Dashboard

  1. Navigate to the CX Unified Dashboard on beta/prod.
  2. Search for or locate the article *Ronald E. Asher* in the dashboard interface.
  3. Verify the number of languages shown for that article.
  4. AC1: Confirm that the number of languages listed is accurate and matches the actual number of languages the article exists in (e.g., 3 for *Ronald E. Asher* if it's in English, Malayalam, and Egyptian Arabic).
SearchConfirm
2025-06-03_09-19-45.png (623×1 px, 99 KB)
2025-06-03_09-00-34.png (935×1 px, 120 KB)
GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF moved this task from Needs QA to Design Signoff on the LPL Hypothesis board.
PWaigi-WMF subscribed.

Tested; article language count now shows correctly.