Description
Steps to reproduce:
- Go to https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateZObject?zid=Z14&Z14K1=Z10097
- Select "Code" and a programming language
- Empty the Code editor text area
- Click "Publish"
Observed behavior:
- The validator function validateZObject returns false because the code box is empty
- However it does not show any notification that there's an error or wny
Expected behavior (Acceptance criteria):
- Errors are properly communicated when clicking Publish
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