Page MenuHomePhabricator

CX2: Support <poem>
Open, LowPublic


CX2 should adapt poems. There is nothing special to adapt a content from one language to another.
There are a few technical glitches though

  • The <poem>....</poem> content in source article triggers an API call to render the wikitext to html to display. It is originated from ve.ce.MWExtensionNode.prototype.generateContents This causes the source section having a small height initially and then get expanded to multiple lines section once the network request to do fragment rendering complete. This change in source article does not trigger any alignment correction - causing the wrong section alginment till another section alignment call is done for the articles.
  • The fragment rendering api call from ve.ce.MWExtensionNode.prototype.generateContents goes to the localwiki instead of source or target language wiki. To be fixed

Event Timeline

santhosh created this task.Apr 6 2018, 6:16 AM

Change 424565 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] CX2: Customized Extension node

Change 424983 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Customize parsefragment

Change 424565 abandoned by Santhosh:
CX2: Customized Extension node

Abandoning in favor of

Change 424983 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Customize parsefragment

Pginer-WMF triaged this task as Low priority.Apr 11 2018, 8:56 AM
Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.