Page MenuHomePhabricator

Validate gloss languages in the API
Closed, ResolvedPublic

Event Timeline

Change 445613 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Addshore):
[mediawiki/extensions/WikibaseLexeme@master] Add API module for adding Senses

https://gerrit.wikimedia.org/r/445613

This basically boils down to ensuring that a LexemeTermLanguageValidator is involved somewhere in the request parsing process. @Addshore’s patch for wbladdsense does that, we just need to make sure we don’t forget it when we add wbleditsenseelements.

Change 445613 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Add API module for adding Senses

https://gerrit.wikimedia.org/r/445613

Lucas_Werkmeister_WMDE claimed this task.
Lucas_Werkmeister_WMDE moved this task from To Do to Done on the Wikidata-Senses-Iteration2 board.

wbleditsenseelements also validates term languages – I think there’s nothing more to be done here.