Merge "Preload modules of the file upload dialog"

This commit is contained in:
jenkins-bot 2020-03-13 17:10:36 +00:00 committed by Gerrit Code Review
commit 792ef7c8ed

View file

@ -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,