The "pick a section" step allows to select the section you want to translate from an article. Although the emphasis is on sections missing, it is also possible to select sections that are already present in the translated article (to expand their contents or replace them). However, this is not possible for the lead section.
This ticket proposes to include the option to select the lead section as part of the "Section present in <language-name>". The section will be listed as:
- "(Top)" as title, to make it consistent with the New Vector term used in the table of contents.
- An excerpt of the initial text of the page in the target language is used as description (only one line of text, cropped with ellipsis). This intended to clarify what this special section is really about by exemplifying it since the terms to refer to the lead section may not be widely known.
Although most of the time articles in both languages will have the lead section, the system should be able to handle the case where the source language has a lead section but the article in the target language does not have one (e.g., only consist of sections). In such case, the lead section option will appear in the "Section missing in <language-name>" and will include a description with an excerpt from the source article instead.
Derived Requirement
The "pick a section" step of the Content Translation workflow must allow users to select the lead section. The lead section should be represented consistently and appear in the appropriate list:
- If the target article already contains a lead section, it must appear under "Section present in <language-name>" with:
- Title set to '(Top)'
- A one-line excerpt from the target article’s lead section as the description, cropped with ellipsis if needed
- If the target article does not contain a lead section but the source article does, the lead section must appear under "Section missing in <language-name>" with:
- Title set to '(Top)'
- A one-line excerpt from the source article’s lead section as the description, cropped with ellipsis if needed
The lead section must always be selectable like any other section.
Test Steps
Test Case 1: Display Lead Section Under “Section present in <language-name>”
- Open Content Translation on desktop and proceed to the "pick a section" step for an article where the target language article already has a lead section.
- Observe the list under "Section present in <language-name>".
- ✅❓❌⬜ AC1: Confirm that the lead section appears with the title '(Top)' and a one-line excerpt from the target article’s lead section.
Test Case 2: Display Lead Section Under “Section missing in <language-name>”
- Open Content Translation on desktop and proceed to the "pick a section" step for an article where the target article does not have a lead section but the source article does.
- Observe the list under "Section missing in <language-name>".
- ✅❓❌⬜ AC2: Confirm that the lead section appears with the title '(Top)' and a one-line excerpt from the source article’s lead section.
Test Case 3: Verify Lead Section Is Selectable
- Open the "pick a section" step for an article under either scenario (lead section present or missing).
- Click on the entry titled '(Top)'.
- ✅❓❌⬜ AC3: Confirm that the lead section can be selected like any other section.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T345845#11406605 |
| 2 | ⬜ | T345845#11406605 |
| 3 | ✅ | T345845#11406605 |

