Page MenuHomePhabricator

CX2: Support <poem>
Open, LowPublic

Description

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

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

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

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

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

Change 424565 abandoned by Santhosh:
CX2: Customized Extension node

Reason:
Abandoning in favor of https://gerrit.wikimedia.org/r/c/424983/

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

Change 424983 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] ve.init.mw.CXTarget: Customize parsefragment

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

Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.