Merge "Start altText as null to avoid empty alt for new gallery images"

This commit is contained in:
jenkins-bot 2022-07-26 20:00:52 +00:00 committed by Gerrit Code Review
commit f7d9da3317

View file

@ -672,8 +672,8 @@ ve.ui.MWGalleryDialog.prototype.onRequestImagesSuccess = function ( response ) {
if ( Object.prototype.hasOwnProperty.call( thumbUrls, title ) ) {
items.push( new ve.ui.MWGalleryItemWidget( {
resource: title,
altText: '',
altTextSame: false,
altText: null,
altTextSame: true,
src: '',
height: thumbUrls[ title ].height,
width: thumbUrls[ title ].width,