Steps to reproduce:
- open https://en.wikipedia.org/wiki/Editing?veaction=edit and copy the first footnote ("[1]") to the clipboard
- open https://en.wikipedia.org/wiki/Editor_(disambiguation)?veaction=edit and paste in the footnote
- click "Insert", "More", "References list"
- in the "References list" dialog, click the "Insert" button
Result: The "References list" dialog stays open (with animation running) and can't be closed (neither the "cancel" nor the "insert" button cause a reaction). The JavaScript console in Chromium shows the following:
Uncaught TypeError: undefined is not a functionVM244:588 openAnnotationVM244:486 ve.dm.Converter.openAndCloseAnnotationsVM244:589 ve.ce.ContentBranchNode.getRenderedContentsVM244:591 ve.ce.ContentBranchNode.renderContentsVM244:587 ve.ce.ContentBranchNode.onSpliceVM244:581 VeCeBranchNodeVM244:585 VeCeContentBranchNodeVM244:688 VeCeParagraphNodeVM238:740 oo.Factory.createVM244:583 ve.ce.BranchNode.onSpliceVM244:581 VeCeBranchNodeVM244:687 VeCeInternalItemNodeVM247:95 ve.ce.MWReferencesListNode.updateVM247:92 VeCeMWReferencesListNodeVM238:740 oo.Factory.createVM244:583 ve.ce.BranchNode.onSpliceVM238:737 oo.EventEmitter.emitVM244:363 ve.dm.BranchNode.spliceVM244:223 (anonymous function)VM244:471 ve.dm.Document.rebuildNodesVM244:481 ve.dm.DocumentSynchronizer.synchronizers.rebuildVM244:483 ve.dm.DocumentSynchronizer.synchronizeVM244:384 ve.dm.TransactionProcessor.processVM244:462 ve.dm.Document.commitVM244:437 ve.dm.Surface.changeInternalVM244:436 ve.dm.Surface.changeVM244:440 ve.dm.SurfaceFragment.changeVM244:450 ve.dm.SurfaceFragment.insertContentVM247:176 (anonymous function)VM244:40 (anonymous function)VM244:40 OO.ui.Process.executeVM244:29 OO.ui.Dialog.executeActionVM244:88 OO.ui.ProcessDialog.executeActionVM244:28 OO.ui.Dialog.onActionClickVM238:737 oo.EventEmitter.emitVM238:737 oo.EventEmitter.emitVM244:124 OO.ui.ButtonWidget.onClickload.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20150218T2…:65 jQuery.event.dispatchload.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20150218T2…:60 elemData.handle