Description
Wikilambdaload_zobjects API, if given a language as parameter, returns the ZObject with only the languages that match that language code, or their closest fallback language.
The fields filtered correctly are all the multilingual string objects under:
- Z2K3/label
- Z2K5/description
- Z17K3/argument label (when function)
- Z3K3/key label (when type)
However, the multilingual stringset objects are not filtered, so they return all the existing values. This includes:
- Z2K4/aliases
Expected behavior (Acceptance criteria):
- When the language parameter is present, all multilingual objects should be filtered to the requested language or closest fallback, including aliases
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#Front-end_Task/Bug_Completion_Checklist