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 closed this task as Resolved.Jul 31 2018, 1:07 PM
Lucas_Werkmeister_WMDE moved this task from To Do to Done on the Wikidata-Senses-Iteration2 board.
Lucas_Werkmeister_WMDE claimed this task.

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