Console error when loading a type page
Steps to reproduce:
- Go to https://wikifunctions.beta.wmflabs.org/wiki/Z10005
- Open the console
- There is a console error, "unable to parse title"
Expected behavior (Acceptance criteria):
- There is no console error
Devices and Design (URLs or screenshots, if applicable):
- Desktop: ...
- Small screens/mobile: ...
- 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