MT error while translating the big reflist section
Open, NormalPublic

Description

When translating Hugo Kołłątaj from English to Japanese, the References section is failing for Yandex and HTML translating MT engines.
The error reported is the content is too large to translate.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 31 2018, 11:17 AM

The root cause was the reflist contains template style as well. It is really unnecessary to machine translate the section if it is only a block level template.

santhosh triaged this task as Normal priority.Oct 31 2018, 11:18 AM

Change 470807 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Do not pass sections with block template to MT engine

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

This other ticket may be relevant since it affects the same area: T208471: CX2: Translating Reference list displays oo-ui-icon-puzzle

Change 470807 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Do not pass sections with block template to MT engine

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

Nikerabbit added a subscriber: Nikerabbit.

Assuming no further patches were planned, so moving to QA.

Stashbot added a subscriber: Stashbot.

Mentioned in SAL (#wikimedia-operations) [2018-11-06T04:42:16Z] <kartik@deploy1001> Started deploy [cxserver/deploy@ddb0031]: Update cxserver to 17f9a10 (T144467, T198699, T208386)

Mentioned in SAL (#wikimedia-operations) [2018-11-06T04:47:42Z] <kartik@deploy1001> Finished deploy [cxserver/deploy@ddb0031]: Update cxserver to 17f9a10 (T144467, T198699, T208386) (duration: 05m 26s)

Petar.petkovic closed this task as Resolved.
Petar.petkovic moved this task from Backlog to Parsing and annotation on the CX-cxserver board.
Petar.petkovic reopened this task as Open.
Petar.petkovic added a subscriber: Petar.petkovic.

I have resolved the ticket because the case of Hugo Kołłątaj from English to Japanese is no longer affected by this bug.

However, when translating Reince Priebus from English to Dutch, cxserver responds with status code 500 and error "Source text too long: en-nl". One observation is that the condition to avoid translating block templates added in 470807 is not satisfied.