⚓ T395422 ContentTranslationEnableMT config parameter not taken into account for mobile translations
Page Menu
Phabricator
Create Task
Maniphest
T395422
ContentTranslationEnableMT config parameter not taken into account for mobile translations
Closed, Resolved
Public
BUG REPORT
Actions
Edit Task
Edit Related Tasks...
Create Subtask
Edit Parent Tasks
Edit Subtasks
Merge Duplicates In
Close As Duplicate
Edit Related Objects...
Edit Commits
Edit Mocks
Mute Notifications
Protect as security issue
Assigned To
SBisson
Authored By
ngkountas
May 28 2025, 8:43 AM
2025-05-28 08:43:04 (UTC+0)
Tags
LPL Hypothesis
(Product Signoff)
ContentTranslation
(Translation editor)
MW-1.45-notes (1.45.0-wmf.5; 2025-06-10)
Referenced Files
F62295683: 2025-06-11_12-49-33.png
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
F62294423: 2025-06-11_09-41-57.png
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
F62295675: 2025-06-11_12-49-23.png
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
F62294421: 2025-06-11_10-02-32.png
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
F62294418: 2025-06-11_09-41-43.png
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
F62294416: 2025-06-11_09-41-21.png
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
Subscribers
Aklapper
GMikesell-WMF
Johannnes89
ngkountas
Description
Steps to replicate the issue
(include links if applicable):
Try to translate an article from en to de on desktop.
You should notice that MT is not available - because
ContentTranslationEnableMT
is set to false for the
dewiki
in production
Try to translate an article from en to de on mobile (go all the way to the "Pick a sentence" step).
What happens?
MT is available.
What should have happened instead?
MT should not be available both on desktop
and
mobile for wikis that have
ContentTranslationEnableMT
set to false.
Derived Requirement
Ensure that the
ContentTranslationEnableMT
configuration parameter is respected on
both desktop and mobile
platforms. If machine translation (MT) is disabled for a target wiki (e.g.,
dewiki
), MT should
not be available
at any step of the translation workflow—regardless of device or skin.
Test Steps
Test Case 1: Verify MT is not available on desktop when
ContentTranslationEnableMT
is false
Open the Content Translation tool on desktop (
vector
or
desktop mode
).
Select a source language (e.g., English) and a target language where MT is disabled (e.g., German/dewiki).
Select any article and proceed to the translation interface.
✅❓❌⬜
AC1:
Confirm that machine translation is
not
offered as an option in the sidebar or under the source paragraph and the initial sentence or paragraph appears as unmodified source text (no MT prefill or suggestion)..
Test Case 2: Verify MT is not available on mobile when
ContentTranslationEnableMT
is false
Open the Content Translation tool on a mobile device or using responsive design emulation in Chrome DevTools (emulate Pixel 5 or iPhone 13).
Select source: English; target: German (dewiki).
Select an article and proceed through to the "Pick a sentence" step.
✅❓❌⬜
AC2:
Confirm that machine translation is
not
offered during sentence selection or in any UI element and the tool does not show any MT engine name (e.g., Google, Apertium, etc.) or prefilled translations.
QA Results - Test Wiki/Prod
AC
Status
Details
T395422#10906698
T395422#10906698
Details
Related Changes in Gerrit:
Subject
Repo
Branch
Lines +/-
CX3 Build 1.0.0+20250602
mediawiki/extensions/ContentTranslation
master
+3 K
-3 K
User notice when MT is disabled
mediawiki/extensions/ContentTranslation
master
+55
-3
Mobile editor: respect wgContentTranslationEnableMT
mediawiki/extensions/ContentTranslation
master
+28
-9
Customize query in gerrit
Related Objects
Mentions
Mentioned In
T365964: SectionTranslation doesn't warn the user that page already exists, when existing target page title is given
Event Timeline
ngkountas
created this task.
May 28 2025, 8:43 AM
2025-05-28 08:43:04 (UTC+0)
Restricted Application
added a subscriber:
Aklapper
View Herald Transcript
May 28 2025, 8:43 AM
2025-05-28 08:43:05 (UTC+0)
ngkountas
triaged this task as
High
priority.
May 28 2025, 8:43 AM
2025-05-28 08:43:10 (UTC+0)
ngkountas
mentioned this in
T365964: SectionTranslation doesn't warn the user that page already exists, when existing target page title is given
May 28 2025, 1:06 PM
2025-05-28 13:06:28 (UTC+0)
SBisson
claimed this task.
May 28 2025, 1:54 PM
2025-05-28 13:54:19 (UTC+0)
SBisson
moved this task from
Needs Triage
to
Translation editor
on the
ContentTranslation
board.
SBisson
moved this task from
Incoming
to
In-progress
on the
LPL Hypothesis
board.
gerritbot
added a comment.
May 28 2025, 3:54 PM
2025-05-28 15:54:22 (UTC+0)
Comment Actions
Change #1151733 had a related patch set uploaded (by Sbisson; author: Sbisson):
[mediawiki/extensions/ContentTranslation@master] Mobile editor: respect wgContentTranslationEnableMT
gerritbot
added a project:
Patch-For-Review
May 28 2025, 3:54 PM
2025-05-28 15:54:22 (UTC+0)
SBisson
moved this task from
In-progress
to
Needs Code Review
on the
LPL Hypothesis
board.
May 28 2025, 3:55 PM
2025-05-28 15:55:32 (UTC+0)
Johannnes89
subscribed.
May 28 2025, 8:51 PM
2025-05-28 20:51:01 (UTC+0)
gerritbot
added a comment.
May 29 2025, 6:49 AM
2025-05-29 06:49:15 (UTC+0)
Comment Actions
Change #1151733
merged
by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Mobile editor: respect wgContentTranslationEnableMT
ReleaseTaggerBot
added a project:
MW-1.45-notes (1.45.0-wmf.4; 2025-06-03)
May 29 2025, 7:00 AM
2025-05-29 07:00:42 (UTC+0)
Maintenance_bot
removed a project:
Patch-For-Review
May 29 2025, 7:30 AM
2025-05-29 07:30:29 (UTC+0)
SBisson
moved this task from
Needs Code Review
to
Pending deployment
on the
LPL Hypothesis
board.
May 29 2025, 12:38 PM
2025-05-29 12:38:12 (UTC+0)
gerritbot
added a comment.
May 29 2025, 3:20 PM
2025-05-29 15:20:56 (UTC+0)
Comment Actions
Change #1152084 had a related patch set uploaded (by Sbisson; author: Sbisson):
[mediawiki/extensions/ContentTranslation@master] User notice when MT is disabled
gerritbot
added a project:
Patch-For-Review
May 29 2025, 3:20 PM
2025-05-29 15:20:57 (UTC+0)
SBisson
moved this task from
Pending deployment
to
Needs Code Review
on the
LPL Hypothesis
board.
May 29 2025, 4:50 PM
2025-05-29 16:50:33 (UTC+0)
Comment Actions
Second part: "user notice" is ready for code review
gerritbot
added a comment.
Jun 2 2025, 6:23 PM
2025-06-02 18:23:08 (UTC+0)
Comment Actions
Change #1152084
merged
by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] User notice when MT is disabled
Maintenance_bot
removed a project:
Patch-For-Review
Jun 2 2025, 6:31 PM
2025-06-02 18:31:08 (UTC+0)
SBisson
moved this task from
Needs Code Review
to
Pending deployment
on the
LPL Hypothesis
board.
Jun 2 2025, 7:08 PM
2025-06-02 19:08:24 (UTC+0)
gerritbot
added a comment.
Jun 2 2025, 7:10 PM
2025-06-02 19:10:59 (UTC+0)
Comment Actions
Change #1152798 had a related patch set uploaded (by Sbisson; author: Sbisson):
[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250602
gerritbot
added a project:
Patch-For-Review
Jun 2 2025, 7:10 PM
2025-06-02 19:10:59 (UTC+0)
gerritbot
added a comment.
Jun 3 2025, 12:14 AM
2025-06-03 00:14:32 (UTC+0)
Comment Actions
Change #1152798
merged
by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250602
Maintenance_bot
removed a project:
Patch-For-Review
Jun 3 2025, 12:30 AM
2025-06-03 00:30:39 (UTC+0)
ReleaseTaggerBot
edited projects, added
MW-1.45-notes (1.45.0-wmf.5; 2025-06-10)
; removed
MW-1.45-notes (1.45.0-wmf.4; 2025-06-03)
Jun 3 2025, 1:00 AM
2025-06-03 01:00:18 (UTC+0)
SBisson
moved this task from
Pending deployment
to
Needs QA
on the
LPL Hypothesis
board.
Jun 6 2025, 12:52 PM
2025-06-06 12:52:09 (UTC+0)
GMikesell-WMF
updated the task description.
(Show Details)
Jun 11 2025, 4:59 PM
2025-06-11 16:59:10 (UTC+0)
GMikesell-WMF
updated Other Assignee, added:
GMikesell-WMF
GMikesell-WMF
subscribed.
Jun 11 2025, 9:28 PM
2025-06-11 21:28:21 (UTC+0)
Comment Actions
@SBisson
Confirmed that ContentTranslationEnableMT is false as seen in the screenshots for PROD but not Test Wiki. 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):
Test Steps
Test Case 1: Verify MT is not available on desktop when
ContentTranslationEnableMT
is false
Open the Content Translation tool on desktop (
vector
or
desktop mode
).
Select a source language (e.g., English) and a target language where MT is disabled (e.g., German/dewiki).
Select any article and proceed to the translation interface.
AC1:
Confirm that machine translation is
not
offered as an option in the sidebar or under the source paragraph and the initial sentence or paragraph appears as unmodified source text (no MT prefill or suggestion).
Test Wiki
PROD Desktop
Test Case 2: Verify MT is not available on mobile when
ContentTranslationEnableMT
is false
Open the Content Translation tool on a mobile device or using responsive design emulation in Chrome DevTools (emulate Pixel 5 or iPhone 13).
Select source: English; target: German (dewiki).
Select an article and proceed through to the "Pick a sentence" step.
AC2:
Confirm that machine translation is
not
offered during sentence selection or in any UI element and the tool does not show any MT engine name (e.g., Google, Apertium, etc.) or prefilled translations.
Test Wiki
Test Wiki 3 dot
PROD Mobile
PROD Mobile 3 dot
GMikesell-WMF
updated the task description.
(Show Details)
Jun 11 2025, 9:29 PM
2025-06-11 21:29:06 (UTC+0)
GMikesell-WMF
updated Other Assignee, removed:
GMikesell-WMF
GMikesell-WMF
moved this task from
Needs QA
to
Design Signoff
on the
LPL Hypothesis
board.
Pginer-WMF
moved this task from
Design Signoff
to
Product Signoff
on the
LPL Hypothesis
board.
Jun 16 2025, 2:46 PM
2025-06-16 14:46:38 (UTC+0)
PWaigi-WMF
closed this task as
Resolved
Jun 20 2025, 10:06 AM
2025-06-20 10:06:09 (UTC+0)
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct.
Wikimedia Foundation
Code of Conduct
Disclaimer
CC-BY-SA
GPL
Credits
US