Media search dialog in VE is not opening
The following error appears in the console:
load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.base|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=1qaigzl:52 jQuery.Deferred exception: this.categoriesWidget.setItemsFromData is not a function TypeError: this.categoriesWidget.setItemsFromData is not a function at mw.ForeignStructuredUpload.BookletLayout.clear (<anonymous>:1289:135) at mw.ForeignStructuredUpload.BookletLayout.mw.Upload.BookletLayout.initialize (<anonymous>:1242:788) at mw.ForeignStructuredUpload.BookletLayout.initialize (<anonymous>:1280:2353) at VeUiMWMediaDialog.<anonymous> (<anonymous>:1329:265) at <anonymous>:119:113 at mightThrow (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.base%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1qaigzl:49:598) at process (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.base%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=1qaigzl:50:269) undefined