Description
When the work on T271776 has been completed, use the inlanguage keyword to optimize Z6830/Find lexemes for a Wikidata item (T383631). It will completely eliminate a fetch call to Wikidata action API wbgetentities (which in some cases retrieves > 200 lexemes), for each call to Z6830. This will be a coding change in fetchObject.js.
When T387235 has been completed, this optimization should also be applied there.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- Execution time for calls to Z6830 is expected to be cut in half, or better.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist