Steps to replicate the issue (include links if applicable):
- Create a MW HTMLForm with a "namespacesmultiselect" field
What happens?:
The field remains on its loading state instead of showing the data. A JS exception is thrown.
What should have happened instead?:
The field shows the data and allows to select more namespaces
Software version (skip for WMF-hosted wikis like Wikipedia):
Reproduced on a dev setup
Other information (browser name/version, screenshots, etc.):
TypeError: Cannot read properties of undefined (reading 'static') at new MwWidgetsNamespacesMultiselectWidget (mw.widgets.NamespacesMultiselectWidget.js:24:46) at OO.ui.Element.static.unsafeInfuse (oojs-ui-core.js:822:12) at deserialize (oojs-ui-core.js:799:36) at OO.copy (oojs.js:455:17) at OO.copy (oojs.js:482:27) at OO.ui.Element.static.unsafeInfuse (oojs-ui-core.js:795:12) at OO.ui.Element.static.infuse (oojs-ui-core.js:697:33) at OO.ui.infuse (oojs-ui-core.js:335:30) at HTMLDivElement.eval (autoinfuse.js:28:12) at Function.each (jquery.js:383:19)