Page MenuHomePhabricator

Format tags field for MinT translation
Closed, ResolvedPublic

Assigned To
Authored By
HMonroy
Oct 30 2025, 10:53 PM
Referenced Files
F70842442: 2025-12-03_12-42-53.mp4
Dec 3 2025, 8:48 PM
F70086436: 2025-11-10_14-27-55.webm
Nov 10 2025, 10:35 PM
F70086351: 2025-11-10_12-39-27.png
Nov 10 2025, 10:35 PM
F70086345: 2025-11-10_12-38-49.png
Nov 10 2025, 10:35 PM
F70086340: 2025-11-10_12-38-31.png
Nov 10 2025, 10:35 PM
F68619883: 2025-10-30_09-29-19.webm
Oct 30 2025, 10:53 PM

Description

In the wish page, tags and phabricator tasks fields are not translated as expected by MinT.

Acceptance criteria

  • In the wish page, tags and phabricator tasks fields should be be translated and displayed with a appropriate separator.

Derived Requirement
Ensure that on the wish page, the tags and Phabricator tasks fields are properly translated using MinT translation and displayed with a consistent and appropriate separator (e.g., comma, bullet, or pipe) in the user’s current UI language.

Test Steps

Test Case 1: Verify MinT translation and formatting for tags field

  1. Navigate to the Community Wishlist and open a wish page containing one or more tags.
  2. In Preferences → User Interface Language, change the language to a non-English option (e.g., Japanese or Spanish) or vice versa if you created a wish in Spanish.
  3. Wait for MinT translation to load or trigger translation if not automatic.
  4. Observe the tags field on the wish page.
  5. ✅❓❌⬜ AC1: Confirm that all tags are translated into the current UI language and displayed using a clear, consistent separator (e.g., comma, bullet, or pipe), with no concatenation or formatting errors.

Test Case 2: Verify MinT translation and formatting for Phabricator tasks field

  1. On the same wish page, locate the Phabricator tasks field.
  2. Observe the display of task references (e.g., “T123456”) and any associated text.
  3. ✅❓❌⬜ AC2: Confirm that the Phabricator tasks field is translated where applicable, formatted consistently, and uses the same separator style as the tags field.

Test Case 3: Verify translation and formatting consistency across wishes

  1. Navigate to at least two additional wish pages that include tags and Phabricator tasks.
  2. Observe the formatting and translation of both fields on each page.
  3. ✅❓❌⬜ AC3: Confirm that translation and separator formatting are consistent across all wish pages in the selected UI language.

Test Case 4: Verify translation persistence across page reloads

  1. Keep the UI language set to a translated language (e.g., Japanese).
  2. Reload the wish page or navigate between different wishes.
  3. ✅❓❌⬜ AC4: Confirm that translations for both tags and Phabricator tasks persist across reloads and remain properly formatted.

QA Results - Meta Beta

Event Timeline

Change #1201231 had a related patch set uploaded (by HMonroy; author: HMonroy):

[mediawiki/extensions/CommunityRequests@master] Format tags and phabricator tasks values for MinT

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

Change #1201231 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] Format tags and phabricator tasks values for MinT

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

HMonroy changed the task status from In Progress to Open.Nov 6 2025, 1:18 AM
HMonroy moved this task from Feedback and Review to QA on the Community-Tech (Sea Lion Squad) board.

@HMonroy Please review AC1, thanks!

Test Result - Meta Beta

Status: ✅ PASS ❌ FAIL
Environment: Meta Beta
OS: macOS Tahoe 26.1
Browser: Chrome 142
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://meta.wikimedia.beta.wmcloud.org/wiki/Community_Wishlist/W32
https://meta.wikimedia.beta.wmcloud.org/wiki/Community_Wishlist/W30

Test Steps

Test Case 1: Verify MinT translation and formatting for tags field

  1. Navigate to the Community Wishlist and open a wish page containing one or more tags.
  2. In Preferences → User Interface Language, change the language to a non-English option (e.g., Japanese or Spanish) or vice versa if you created a wish in Spanish.
  3. Wait for MinT translation to load or trigger translation if not automatic.
  4. Observe the tags field on the wish page.
  5. AC1: Confirm that all tags are translated into the current UI language and displayed using a clear, consistent separator (e.g., comma, bullet, or pipe), with no concatenation or formatting errors.

Spanish to English did not translate as good as Spanish to French for Tag and Phab Tasks

Spanish Wish❌Translate to English✅ Translate to French
2025-11-10_12-38-31.png (1×1 px, 221 KB)
2025-11-10_12-38-49.png (1×1 px, 230 KB)
2025-11-10_12-39-27.png (1×1 px, 244 KB)

Test Case 2: Verify MinT translation and formatting for Phabricator tasks field

  1. On the same wish page, locate the Phabricator tasks field.
  2. Observe the display of task references (e.g., “T123456”) and any associated text.
  3. AC2: Confirm that the Phabricator tasks field is translated where applicable, formatted consistently, and uses the same separator style as the tags field.

See AC1

Test Case 3: Verify translation and formatting consistency across wishes

  1. Navigate to at least two additional wish pages that include tags and Phabricator tasks.
  2. Observe the formatting and translation of both fields on each page.
  3. AC3: Confirm that translation and separator formatting are consistent across all wish pages in the selected UI language.

See AC4

Test Case 4: Verify translation persistence across page reloads

  1. Keep the UI language set to a translated language (e.g., Japanese).
  2. Reload the wish page or navigate between different wishes.
  3. AC4: Confirm that translations for both tags and Phabricator tasks persist across reloads and remain properly formatted.

GMikesell-WMF changed the task status from Open to In Progress.Nov 10 2025, 10:40 PM
GMikesell-WMF moved this task from QA to In Development on the Community-Tech (Sea Lion Squad) board.

Change #1204701 had a related patch set uploaded (by HMonroy; author: HMonroy):

[mediawiki/extensions/CommunityRequests@master] Do not translate phab tasks in wish page

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

Change #1204701 abandoned by HMonroy:

[mediawiki/extensions/CommunityRequests@master] Do not translate phab tasks in wish page

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

Test Steps

Test Case 1: Verify MinT translation and formatting for tags field

  1. Navigate to the Community Wishlist and open a wish page containing one or more tags.
  2. In Preferences → User Interface Language, change the language to a non-English option (e.g., Japanese or Spanish) or vice versa if you created a wish in Spanish.
  3. Wait for MinT translation to load or trigger translation if not automatic.
  4. Observe the tags field on the wish page.
  5. AC1: Confirm that all tags are translated into the current UI language and displayed using a clear, consistent separator (e.g., comma, bullet, or pipe), with no concatenation or formatting errors.

Spanish to English did not translate as good as Spanish to French for Tag and Phab Tasks

Spanish Wish❌Translate to English✅ Translate to French
2025-11-10_12-38-31.png (1×1 px, 221 KB)
2025-11-10_12-38-49.png (1×1 px, 230 KB)
2025-11-10_12-39-27.png (1×1 px, 244 KB)

Test Case 2: Verify MinT translation and formatting for Phabricator tasks field

  1. On the same wish page, locate the Phabricator tasks field.
  2. Observe the display of task references (e.g., “T123456”) and any associated text.
  3. AC2: Confirm that the Phabricator tasks field is translated where applicable, formatted consistently, and uses the same separator style as the tags field.

See AC1

@HMonroy Tags and Phabricator Tasks are now fixed as seen in the video below. I will mark this as Resolved. Thanks for all your work!

AC1:

✅ Translate to English

AC2:
See AC1

GMikesell-WMF updated the task description. (Show Details)