Nikki created this task. Nikki added projects: Wikidata, Wikidata Lexicographical data.
TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - Go to https://test.wikidata.org/w/api.php?action=help&modules=wbladdsense - Click "open in sandbox" - Click "action=wbladdsense" at the side - Click "Auto-fill the token" at the bottom - Click "Make request" at the top **What happens?**: It gives an error saying the language code is not recognised: { "error": { "code": "not-recognized-language", "info": "Unknown language \"en-US\" for term \"Some text value\" in field \"data\" at \"glosses/en-US\".", "parameterName": "data", "fieldPath": [ "glosses", "en-US" ], "docref": "See https://test.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes." }, "servedby": "mw-api-ext.codfw.main-5974658687-r5kmp" } **What should have happened instead?**: The API documentation should provide a valid example. **Software version** (skip for WMF-hosted wikis like Wikipedia): **Other information** (browser name/version, screenshots, etc.): TASK DETAIL https://phabricator.wikimedia.org/T357427 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nikki Cc: Nikki, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org