Steps to replicate the issue (include links if applicable):
- Open any page, existing or not, on testwiki and load VE (quick link)
- Make any changes
- Click "Publish changes"
- Enter summary
- Click "Publish changes" in the dialog
What happens?:
The dialog just hangs forever and the following error is logged in the console:
oojs.js:867 Uncaught TypeError: mw.editcheck.findAddedContentNeedingReference is not a function at ve.init.mw.ArticleTarget.save (ve.init.mw.ArticleTarget.js:1555:21) at ve.init.mw.ArticleTarget.startSave (ve.init.mw.ArticleTarget.js:1414:7) at ve.init.mw.ArticleTarget.onSaveDialogSave (ve.init.mw.ArticleTarget.js:1403:8) at OO.EventEmitter.emit (oojs.js:858:12) at ve.ui.MWSaveDialog.js:889:9 at oojs-ui-windows.js:756:33 at OO.ui.Process.execute (oojs-ui-windows.js:792:39) at OO.ui.Dialog.executeAction (oojs-ui-windows.js:2926:41) at OO.ui.ProcessDialog.executeAction (oojs-ui-windows.js:3473:59) at OO.ui.Dialog.onActionClick (oojs-ui-windows.js:2745:8)
What should have happened instead?:
The edit should go through.
Other information (browser name/version, screenshots, etc.):
Seems to be caused by r1010703, which removed the mw.editcheck.findAddedContentNeedingReference method, which is however still used in ve.init.mw.ArticleTarget.js.