Steps to reproduce:
- Go to https://de.wikipedia.org/wiki/Hilfe:Galerie?veaction=edit
- Scroll down to first gallery, try to edit it.
Expected: You can edit the gallery.
Actual: The page is grayed out, JS console shows an error: "TypeError: item is undefined".