Error
MediaWiki version: 1.36.0-wmf.20
The given ID does not refer to an entity of type lexeme
Impact
About 4 logstash events per day since the late UTC evening of December 4th, prior to that only sporadic occurrences. Affects both wmf.18 and wmf.20.
Notes
T195110: Special:EntityData throws an exception when called with a form id indicates that this used to work (or at least we fixed it once).
Special:EntityData?id=L1-S1&format=json (ID in query params instead of path) produces the same error.
This happens only for IDs of existing Senses and Forms – e.g. Special:EntityData/L1-S1000.json returns “not found” without crashing.
Acceptance criteria
- it should work again
- there is an integration test in Lexeme for this (probably add another test to LexemeSpecialEntityDataTest, which currently only requests Special:EntityData with a Lexeme ID)