Merge "ArticleTargetSaver: Use mw.deflateAsync"

This commit is contained in:
jenkins-bot 2024-11-22 22:09:20 +00:00 committed by Gerrit Code Review
commit 2aca9f32e1

View file

@ -33,7 +33,7 @@
* @return {jQuery.Promise} Promise resolved with deflated HTML
*/
deflate: function ( html ) {
return mw.loader.using( 'mediawiki.deflate' ).then( () => mw.deflate( html ) );
return mw.loader.using( 'mediawiki.deflate' ).then( () => mw.deflateAsync( html ) );
},