Steps to replicate the issue (include links if applicable):
- Create a list of articles and add the <page-collection /> marker to it
- Notice that it gets picked up by the recommendation api and displayed on the CX unified dashboard
- Remove the <page-collection /> marker from the article list
What happens?:
- It remains displayed as an available collection but contains no pages and give no recommendations when selected
What should have happened instead?:
- It should be removed from the list of page collections after the next update cycle
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Derived Requirement
Ensure that when the <page-collection /> marker is removed from an article list, the Recommendation API automatically removes the corresponding page collection from the CX unified dashboard during the next update cycle, preventing display of empty or invalid collections.
Test Case 1: Verify page collection removal after marker deletion
- On the test wiki, create a new list of articles (e.g., “User:Test/PageCollection”).
- Add the <page-collection /> marker to the list and save.
- Open the CX unified dashboard and confirm the new page collection appears in the available collections list.
- Edit the same article list and remove the <page-collection /> marker.
- Wait for or trigger the next Recommendation API update cycle (if manual trigger available).
- Refresh the CX unified dashboard.
- ✅❌❓⬜ AC1: Confirm that the page collection is no longer displayed on the dashboard after the update cycle.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T407894#11368299 |

