Steps to replicate the issue (include links if applicable):
- Go to Special:CreateZObject?view=function-editor
- Change the natural language to something non-English
- Define function
- Publish
What happens?:
The zobject sent to API contains empty English label for every argument, e.g.:
"Z17K3": { "Z1K1": "Z12", "Z12K1": [ "Z11", { "Z1K1": "Z11", "Z11K1": "Z1002", // english "Z11K2": "" }, { "Z1K1": "Z11", "Z11K1": "Z1006", // chinese "Z11K2": "chinese argument name" } ] }
What should have happened instead?:
No English labels should be contained in a zobject if english not selected.
Software version (skip for WMF-hosted wikis like Wikipedia):
As of commit 4628c786ca339decffa7aa08f9e9c6070d37b6cc.