Page MenuHomePhabricator

Make the MinT translation preference on by default if possible
Open, MediumPublic

Description

We have this lovely automatic translation feature in the Wishlist, but I suspect few use it because they don't know it exists. One must first "Enable automatic machine translation in the Community Wishlist" in their preferences.

In r1074094, I moved this to be a preference to match the opt-in behaviour it had when it was a gadget. I thought this was needed because users complained about the translation banner being there on every wishlist page, but @Samwilson corrected me that this was actually due to over-use as a default feature (T384555).

That said, I guess we'd still be worried about making it default-on again? What if it was limited to logged-in users only?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The original idea was that it'd be available for all users, and that's why we used localstorage to track its state. We could start by enabling it for logged in users by default, as that's maybe a quicker (config) change, but I think enabling for everyone would be good. I'm not sure what the condition of cxserver.wikimedia.org is, but I presume it's more stable than it was last year when we first turned it on.

mikez-WMF triaged this task as Medium priority.Oct 28 2025, 8:29 PM

Thanks for the background! I agree enabling for all would be ideal.

From T386889 it sounds like work was done to improve stability of CXServer. Still, I guess let's ping @KartikMistry @Nikerabbit just to be sure?

Is there a way to do this gradually and closely monitor the load with @KartikMistry? We also have T386371: Request capacity increase in preparation for MinT for wiki Readers experiment and want to avoid causing problems for the experiment due to capacity issues.

Glad I pinged! Yes, we can do it more gradually.

Knowing there are capacity issues, I want to first improve performance on our end. We could do better on deciding what should be sent to CXServer. For example the "Vote count" column in the wish-index table doesn't need to translated. More specifically, I was thinking we should restrict use of MinT to user-submitted content only?

Looks like some capacity problems are still being worked on based on T411058: Can't deploy machinetranslation due to exceeding resource quotas. I guess we should wait for that to be resolved, then we can re-ping LPL to see if it's a good time to switch on machine translation by default.

Knowing there are capacity issues, I want to first improve performance on our end.

Noting that I think we've now got our implementation as efficient as it can be (r1204089). Any given wish typically makes up to 4 translation requests at most.

Looks like some capacity problems are still being worked on based on T411058: Can't deploy machinetranslation due to exceeding resource quotas. I guess we should wait for that to be resolved, then we can re-ping LPL to see if it's a good time to switch on machine translation by default.

Knowing there are capacity issues, I want to first improve performance on our end.

Noting that I think we've now got our implementation as efficient as it can be (r1204089). Any given wish typically makes up to 4 translation requests at most.

Yes. Things didn't go very well after we upgraded the capacity for MinT. I'll ping once we have any updates.