In order to support the publish step (T252542) of the Section Translation workflow, the backend functionality is needed to support adding the contents of the translated section tot he target article.
The Content Translation Publish API will be extended to support:
- Adding the translated contents as a new section at the end of the target article.
- This should be in sync with the "compare the contents" step where a placeholder is shown indicating where the contents will be published.
- Mark the edit with the following edit tags: "contenttranslation", "sectiontranslation" and "mobile edit"
- The edit summary will include a reference to the original translation: "Created by translating the section "X" from page "Y". Where X is the section title in the source language and Y is the article name linking to the revision used for the translation.