Steps to replicate the issue (include links if applicable):
- Open the "Structured data" tab in a Wikimedia Commons file.
- Add a new statement or edit an existing one.
- Click on "Add reference" to add a new reference supporting the statement.
What happens?:
Nothing happens visually.
The browser's console shows error: Uncaught TypeError: can't convert undefined to object (ItemWidget.js:332:45)
What should have happened instead?:
The fields to add a new reference should have been shown.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Tried both logged in and logged out, using Firefox v113.0.2 and Chrome v103 (super outdated, I know; I just never use it).