When there is a nominated collection for the target language and the current filter is a topic, try to include up to 50% of suggestions from the nominated collection that match the topic and the rest from the articletopic search.
When there is no nominated collection, nothing different from the current state.
Recommended approach is the use the search API combining articletopic with pageid with the ID of the pages in the collection in the source wiki.
Derived Requirement
Ensure that when a nominated collection exists for the target language and a topic filter is applied, up to 50% of the suggested results are sourced from the nominated collection pages that match the selected topic, with the remaining results sourced from the articletopic search API. When no nominated collection exists for the target language, topic-filtered suggestions must behave identically to the current implementation.
Test Steps
Test Case 1: Include Nominated Collection Suggestions When Topic Filter Is Applied
- Ensure a nominated collection exists for the target language with multiple pages mapped to a known topic.
- Open Wikipedia using the Minerva skin.
- Navigate to the feature where article suggestions are generated.
- Apply a topic filter that matches pages within the nominated collection.
- Observe the list of generated suggestions.
- ✅❓❌⬜ AC1: Confirm that no more than 50% of the suggestions are sourced from the nominated collection pages that match the selected topic.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | Pass per T409338#11491732 |