Steps to replicate the issue (include links if applicable):
- Go to the CX dashboard on frwiki: https://fr.wikipedia.org/wiki/Special:ContentTranslation
- Open the suggestions popup and look at the Collections tab
- Find the "page-collection-groups" API call in the network tab of the dev tools
What happens?:
- API call is blocked by CORS and collections view is empty
- The CORS error message in the javascript console refers to another wiki
Access to fetch at 'https://api.wikimedia.org/service/lw/recommendation/api/v1/translation/page-collection-groups' from origin 'https://fr.wikipedia.org' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://en.wikipedia.org' that is not equal to the supplied origin. Have the server send the header with a valid value.
What should have happened instead?:
- Page collections load normally
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
1.47 wmf.2
| Wiki | Works? |
|---|---|
| en | ✅ |
| fr | ❌ |
| es | ❌ |
| ca | ❌ |
| pt | ❌ |
| bn | ❌ |
| ja | ❌ |
| hi | ❌ |
| id | ❌ |
| gu | ❌ |
