mw.ForeignStructuredUpload.BookletLayout.parent.prototype.initialize.call( this )
.done( function () {
// Point the CategorySelector to the right wiki
- this.upload.apiPromise.done( function ( api ) {
+ this.upload.getApi().done( function ( api ) {
// If this is a ForeignApi, it will have a apiUrl, otherwise we don't need to do anything
if ( api.apiUrl ) {
// Can't reuse the same object, CategorySelector calls #abort on its mw.Api instance
fieldset.addItems( [
new OO.ui.FieldLayout( this.filenameWidget, {
label: mw.msg( 'upload-form-label-infoform-name' ),
- align: 'top'
+ align: 'top',
+ help: mw.msg( 'upload-form-label-infoform-name-tooltip' )
} ),
new OO.ui.FieldLayout( this.descriptionWidget, {
label: mw.msg( 'upload-form-label-infoform-description' ),
- align: 'top'
+ align: 'top',
+ help: mw.msg( 'upload-form-label-infoform-description-tooltip' )
} ),
new OO.ui.FieldLayout( this.categoriesWidget, {
label: mw.msg( 'foreign-structured-upload-form-label-infoform-categories' ),