Bug: T116395
Change-Id: Id701ee053be226e9ed1791cbb59459d372ac7255
* @inheritdoc
*/
mw.ForeignStructuredUpload.BookletLayout.prototype.getText = function () {
- this.upload.addDescription( 'en', this.descriptionWidget.getValue() );
+ var language = mw.config.get( 'wgContentLanguage' );
+ this.upload.addDescription( language, this.descriptionWidget.getValue() );
this.upload.setDate( this.dateWidget.getValue() );
this.upload.addCategories( this.categoriesWidget.getItemsData() );
return this.upload.getText();