Steps to replicate the issue (include links if applicable):
- Send a request to cxserver to get section suggestions for an article existing in "be-tarask"
e.g. https://cxserver.wikimedia.org/v2/suggest/sections/Moon/en/be-tarask
What happens?:
CXServer returns a response with 404 error code:
"Target article does not exist for en:Moon in be-tarask language"
What should have happened instead?:
CXServer should have returned a successful response, since the target article exists in be-tarask.
Derived Requirement
CXServer must support section suggestions for the "be-tarask" language code. When requesting section suggestions for an article that exists in this language variant, the server should return a valid list of section recommendations instead of a 404 Target article does not exist error.
Test Steps
Test Case 1: Section Suggestions with "be-tarask"
- Send a request to CXServer for section suggestions: https://cxserver.wikimedia.org/v2/suggest/sections/Moon/en/be-tarask
- ✅❓❌⬜ AC1: Confirm the response does not return a 404 Target article does not exist.
- ✅❓❌⬜ AC2: Confirm the response includes section suggestions for the given article.
Test Case 2: Comparison with Standard "be"
- Send the same section suggestion request but with "be" as the target language: https://cxserver.wikimedia.org/v2/suggest/sections/Moon/en/be
- ✅❓❌⬜ AC3: Confirm that the "be-tarask" response matches the expected behavior of the "be" request.
- ✅❓❌⬜ AC4: Confirm both requests return valid section suggestions if the article exists.
Test Case 3: Non-Existent Article
- Send a request for a non-existent article in "be-tarask".
- ✅❓❌⬜ AC5: Confirm CXServer correctly returns a 404 error only when the article does not exist in the target language.
QA Results - CXserver
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T394008#11198763 |
| 2 | ✅ | T394008#11198763 |
| 3 | ✅ | T394008#11198763 |
| 4 | ✅ | T394008#11198763 |
| 5 | ✅ | T394008#11198763 |


