[go: up one dir, main page]

Page MenuHomePhabricator

Section Translation picking the wrong section when creating a new article
Closed, ResolvedPublic

Description

When starting a new article by translating the Avocado toast article to Bengali the contents loaded by Section Translation are not those of the lead section (starting with the text "Avocado toast is a type of open sandwich..."), as would be expected to create a new article. Instead, the contents loaded are loaded form the "Origins" section (which starts with the text "Avocados are a native fruit of the Americas...").

In Section TranslationArticle lead section"Origins" section
bn.m.wikipedia.org_w_index.php_title=Special_ContentTranslation&page=Avocado%20toast&from=en&to=bn&sx=true(iPhone SE).png (1×750 px, 435 KB)
en.m.wikipedia.org_wiki_Avocado_toast(iPhone SE).png (1×750 px, 436 KB)
en.m.wikipedia.org_wiki_Avocado_toast.png (1×750 px, 480 KB)

This seems to be a regression of T260144 and was initially reported in this comment.

Event Timeline

Pginer-WMF created this task.
Pginer-WMF updated the task description. (Show Details)

Change 786315 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX VE helper: consider lead sections when getting subsection nodes

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

The same user also commented that the Wikidata linking (T294006) is no longer happening. Is that a consequence of the current issue, or should that be captured in a separate ticket?

Change 786315 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX VE helper: consider lead sections when getting subsection nodes

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

Looks like above change has been deployed but i am still getting same issue.

Change 790022 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20220509

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

Change 790022 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20220509

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

Change 790328 had a related patch set uploaded (by KartikMistry; author: Santhosh):

[mediawiki/extensions/ContentTranslation@wmf/1.39.0-wmf.10] CX3 Build 0.2.0+20220509

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

Change 790328 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@wmf/1.39.0-wmf.10] CX3 Build 0.2.0+20220509

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

Mentioned in SAL (#wikimedia-operations) [2022-05-09T14:04:37Z] <taavi@deploy1002> Synchronized php-1.39.0-wmf.10/extensions/ContentTranslation/app: Backport: [[gerrit:790328|CX3 Build 0.2.0+20220509 (T306643)]] (duration: 00m 51s)

Testing status ; QA PASS

Using the same article ( Avocado Toast ) and other articles during en --> bengali translation the first section is loaded and highlighted for translation

Screen Shot 2022-06-27 at 11.41.36 PM.png (859×506 px, 334 KB)