diff --git a/modules/jquery.wikiEditor.dialogs.config.js b/modules/jquery.wikiEditor.dialogs.config.js index 0e5412b5..32ed5355 100644 --- a/modules/jquery.wikiEditor.dialogs.config.js +++ b/modules/jquery.wikiEditor.dialogs.config.js @@ -560,6 +560,13 @@ return mw.msg( $( this ).attr( 'rel' ) ); } ) .removeAttr( 'rel' ); + + // Preload modules of file upload dialog. + mw.loader.load( [ + 'mediawiki.ForeignStructuredUpload.BookletLayout', + 'mediawiki.Upload.Dialog', + 'oojs-ui-windows' + ] ); }, dialog: { resizable: false,