Page MenuHomePhabricator

Template cards show as never-ending loading
Closed, ResolvedPublic2 Estimated Story Points

Description

When translating the "Short story" article to Occitan as a new article, the following issues are present:

  • Selecting the Redirect template (which renders as an empty line because of T300958) results in the template card to get stuck in a never-ending load status.
  • Selecting the Literature template results in the template card to get stuck in a never-ending load status and does not even show the template name.
  • Taping the text paragraph below the previous two templates does not select the paragraph on the first tap, requiring a second one to be selected.

The video bellow illustrates these issues:

Event Timeline

Pginer-WMF triaged this task as Medium priority.Mar 3 2022, 1:41 PM
Pginer-WMF created this task.
Pginer-WMF moved this task from Backlog to Mobile editor on the SectionTranslation board.
santhosh set the point value for this task to 2.Apr 5 2022, 5:57 AM

From T300954: Template card loading indefinitely in Section Translation

When translating the Tokyo article from English to Igbo, selecting the first infobox results on the template card to load indefinitely:

Note that the Infobox settlement template is not available in Igbo according to Wikidata

  • Selecting the Redirect template (which renders as an empty line because of T300958) results in the template card to get stuck in a never-ending load status.

Fixed in T300958: "See also" template rendered as an empty line in Section Translation

  • Selecting the Literature template results in the template card to get stuck in a never-ending load status and does not even show the template name.

Currently that table is not show in SX. It is also not displayed in mobile version of the article : https://en.m.wikipedia.org/wiki/Short_story. The table is meta information about the article and cannot be meaningfully translated.

image.png (654×760 px, 139 KB)

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix infinite loading indicator for block templates

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

Change 784584 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix infinite loading indicator for block templates

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

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

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

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

Change 785402 merged by jenkins-bot:

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

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

Nikerabbit added a subscriber: Nikerabbit.

This has been deployed to production a while ago.

This is currently working. The template cards loading does not go into an infinite loop. This loads when available and when its not available it displays a message indicating that it is not available

QA PASS