As part of the work on Custom translation suggestions (T113257), support was provided to define collections of topics to translate to make them visible in Content Translation on mobile (T378958). Currently, only one collection is available for users, which is a hardcoded collection based on vital articles (T374597). With only one collection users may not understand the potential of collections, the option for "all collections" becomes redundant, and a "special" collection does not serve as an example for communities to discover how collections are created.
This ticket proposes to add more collections by using the <page-collection/> tag on existing pages that list relevant articles. As part of this process, we'll check with communities whether there is any objection for their list of articles to be visible in Content Translation. These are the proposed pages to mark as collections:
- List of articles every Wikipedia should have. Similar to the current vital articles but defined on Meta (not English Wikipedia), will reflect community updates and has a more manageable size (limited to 1000 items, compared to the 50000 vital articles).
- Wikiproject Women's Health Vital articles. Aligned with Wikimedia Foundation annual plan Key results, "gender" and "women's health" are mentioned in WE2.1.
- Wiki99
- Others (pending confirmation with organizers):
- CEE 2024
- Wikimedians of Turkic Languages User Group
- (Possibly other relevant examples. Feel free to suggest.)
For the pages listed, it should be possible to mark them as collections just by adding the <page-collection/>tag. If there are technical complications or communities object, we can skip the particular case and consider alternatives.
Having several collections will be useful for users to switch between different collections, better differentiate the purpose of the "all collections" option, serve as an example for communities to adopt this feature and start to assess the impact of different types of collections (e.g., broad vs. narrower topic areas). This becomes more relevant as the translation dashboard becomes more accessible with the enablement of new entry points in more wikis (T371692).
Acceptance Criteria
- Successful states:
- Visibility of the added collections on the CX mobile UI.
- Visibility of the added collections under this category
- Getting a list of article suggestions after selecting one collection at a time.
- Getting a list of section-level suggestions after selecting one collection at a time.
- Getting a list of article suggestions after selecting the all collections filter.
- Getting a list of section-level suggestions after selecting the all collections filter.
- Unsuccessful states:
- Getting the appropriate message/view when there are no article suggestions after selecting one collection at a time.
- Getting the appropriate message/view when there are no section-level suggestions after selecting one collection at a time.
- Getting the appropriate message/view when there are no article suggestions after selecting the all collections filter.
- Getting the appropriate message/view when there are no section-level suggestions after selecting the all collections filter.
- Getting the appropriate view when there are no collections that work for a particular source<>target language pair.
- Edge Case: sorted under T381777
If an article cuts across multiple collections, how does this currently appear in the UI?
- HIV/AIDS article appears in 3 lists > Vital articles, Women's Health & List of articles every Wikipedia should have
- Bread article appears in 3 lists > Vital articles, Wiki99 & List of articles every Wikipedia should have
Derived Requirements
- Implement the <page-collection/> tag on the following community-maintained pages to define them as collections for Content Translation:
- "List of articles every Wikipedia should have"
- "Wikiproject Women's Health Vital articles"
- "Wiki99"
- Additional collections pending confirmation, such as CEE 2024 and Wikimedians of Turkic Languages User Group.
- Ensure added collections are visible and selectable in the Content Translation (CX) mobile UI.
- Allow users to access a list of:
- Article suggestions for each collection.
- Section-level suggestions for each collection.
- Article and section-level suggestions for the "all collections" filter.
- Provide appropriate feedback for unsuccessful states, including:
- No article or section-level suggestions available.
- No collections applicable for a specific source-target language pair.
- Address edge cases, ensuring clear display of articles that appear in multiple collections.
Test Steps
Test Case 1: Ensure collections are visible in CX mobile UI
- Add the <page-collection/> tag to the "List of articles every Wikipedia should have" page on beta wiki.
- Navigate to the Content Translation mobile interface.
- ✅❓❌⬜ AC1: Confirm that the collection "List of articles every Wikipedia should have" is visible in the collections list.
Test Case 2: Validate article suggestions for a single collection
- Select the "List of articles every Wikipedia should have" collection in the CX mobile UI.
- Check for a list of article suggestions related to the collection.
- ✅❓❌⬜ AC2: Confirm that article suggestions are displayed correctly for the collection.
Test Case 3: Validate section-level suggestions for a single collection
- Select the "List of articles every Wikipedia should have" collection in the CX mobile UI.
- Check for section-level suggestions related to the collection.
- ✅❓❌⬜ AC3: Confirm that section-level suggestions are displayed correctly for the collection.
Test Case 4: Validate "all collections" filter
- In the CX mobile UI, select the "all collections" filter.
- Check for a combined list of article suggestions from all collections.
- ✅❓❌⬜ AC4: Confirm that article suggestions from all collections are displayed correctly.
- Check for section-level suggestions from all collections.
- ✅❓❌⬜ AC5: Confirm that section-level suggestions from all collections are displayed correctly.
Test Case 5: Handle no suggestions for an individual collection
- Select a collection with no available suggestions.
- ✅❓❌⬜ AC6: Confirm that an appropriate message/view is displayed for no article suggestions.
- ✅❓❌⬜ AC7: Confirm that an appropriate message/view is displayed for no section-level suggestions.
Test Case 6: Handle edge cases of overlapping articles
- Ensure articles appearing in multiple collections (e.g., HIV/AIDS, Bread) are clearly indicated in the CX mobile UI.
- ✅❓❌⬜ AC8: Confirm that overlapping articles are displayed without confusion across relevant collections.
QA Results - Test Mobile ContentTranslation
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T380388#10381692 |
| 2 | ✅ | T380388#10381692 |
| 3 | ✅ | T380388#10381692 |
| 4 | ✅ | T380388#10381692 |
| 5 | ✅ | T380388#10381692 |
| 6 | ❓ | T380388#10381692 |
| 7 | ⬜ | T380388#10381692 |
| 8 | ⬜ | T380388#10381692 |







