The article w:no:Lotte Reiniger fails to load in VisualEditor, with an error message
TypeError: img is null[Learn More] ve.dm.MWGalleryImageNode.js:71:4 ve.dm.MWGalleryImageNode.static.toDataElement https://no.wikipedia.org/w/extensions/VisualEditor/modules/ve-mw/dm/nodes/ve.dm.MWGalleryImageNode.js:71:4 ve.dm.Converter.prototype.createDataElements https://no.wikipedia.org/w/extensions/VisualEditor/lib/ve/src/dm/ve.dm.Converter.js:511:18 ve.dm.Converter.prototype.getDataFromDomSubtree https://no.wikipedia.org/w/extensions/VisualEditor/lib/ve/src/dm/ve.dm.Converter.js:815:25 ve.dm.Converter.prototype.getDataFromDomSubtree https://no.wikipedia.org/w/extensions/VisualEditor/lib/ve/src/dm/ve.dm.Converter.js:941:8 ve.dm.Converter.prototype.getDataFromDomSubtree https://no.wikipedia.org/w/extensions/VisualEditor/lib/ve/src/dm/ve.dm.Converter.js:941:8 ve.dm.Converter.prototype.getModelFromDom https://no.wikipedia.org/w/extensions/VisualEditor/lib/ve/src/dm/ve.dm.Converter.js:585:9 ve.init.mw.Target.static.createModelFromDom https://no.wikipedia.org/w/extensions/VisualEditor/modules/ve-mw/init/ve.init.mw.Target.js:176:10 ve.init.mw.Target.prototype.setupSurface/< https://no.wikipedia.org/w/extensions/VisualEditor/modules/ve-mw/init/ve.init.mw.Target.js:371:11
Note that the gallery-tag had a strange construct. Tried to clean it up, but the problem persists.
The third entry in the gallery, which is a video, triggers the bug.
Videos has been moved to thumbs, so article can be edited.
A minimal page with the bug is https://no.wikipedia.org/w/index.php?title=Bruker:Jeblad/test-gallery-tag&oldid=18362660
Previous testing was with webm-files, same problem with an ogv-file.