As part of the "Preview and publish" step (T252542) of the mobile editor for Section Translation, users can publish their translation contents after previewing them.
For the specific case where there may be publishing conflicts, we want to expand the basic publishing options (T260130) with some additional ones for the user to deal with the conflict.
Two additional options are provided: "Add contents to existing section" and "Replace existing section". The complete list of options provided when there is a publishing conflict will be:
Publish as a new section
Add a new section to the article.
Add contents to existing section
Expand the existing section preserving their contents.
Replace existing section
Delete the existing section, adding your translation instead.
Publish to your Sandbox
Publish in your personal space for you to review and copy them elsewhere.
More details in the parent task: T252542: Section Translation Editor: Preview and publish
Derived Requirement
Ensure that during the "Preview and publish" step of the Section Translation mobile editor, when a publishing destination conflict occurs, the system displays an expanded list of publishing options that allow the user to handle the conflict appropriately. The available options should include:
- Publish as a new section
- Add contents to existing section
- Replace existing section
- Publish to your Sandbox
Each option should execute the corresponding publishing behavior and resolve the conflict without breaking the publishing flow.
Test Steps
Test Case 1: Verify visibility of expanded publishing options during conflict
- Open the Section Translation mobile editor on beta wiki.
- Translate a section of an article that already exists in the target article.
- Proceed to the Preview and publish step.
- ✅❓❌⬜ AC1: Confirm that a publishing conflict message appears when a section with the same title exists.
- ✅❓❌⬜ AC2: Confirm that all four publishing options are visible:
- Publish as a new section
- Add contents to existing section
- Replace existing section
- Publish to your Sandbox
Test Case 2: Verify functionality of “Add contents to existing section” option
- Select Add contents to existing section when the conflict message appears.
- Complete the publish flow.
- Navigate to the target article.
- ✅❓❌⬜ AC3: Confirm that the translated contents are appended to the existing section while preserving the original section text.
Test Case 3: Verify functionality of “Replace existing section” option
- Return to the translation screen and repeat the translation of the same section.
- This time, select Replace existing section.
- Publish the translation.
- ✅❓❌⬜ AC4: Confirm that the existing section in the target article is completely replaced with the new translation content.
Test Case 4: Verify functionality of “Publish as a new section” option
- Select Publish as a new section from the available options.
- Publish the translation.
- ✅❓❌⬜ AC5: Confirm that a new section with the translated content is added to the article, leaving existing sections unchanged.
Test Case 5: Verify functionality of “Publish to your Sandbox” option
- Select Publish to your Sandbox from the options.
- Publish the translation.
- Navigate to your user sandbox page.
- ✅❓❌⬜ AC6: Confirm that the translated content appears correctly in the user’s sandbox and is not published to the main article.
QA Results - Meta Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T260131#11321296 |
| 2 | ✅ | T260131#11321296 |
| 3 | ✅ | Pass per T260131#11324772 |
| 4 | ✅ | T260131#11321296 |
| 5 | ✅ | Pass per T260131#11324772 |
| 6 | ✅ | T260131#11321296 |



