Description
Steps to reproduce:
- Go to https://wikifunctions.beta.wmflabs.org/wiki/Z10019?view=default-view&action=edit
- Try to expand using the expanded mode toggle
Observed behavior:
- Nothing happens
- With debug=true, errors can be seen in console
Expected behavior (Acceptance criteria):
- It should be expanded and clear of errors
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