diff --git a/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js b/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js index 922867755b..1281dcfe18 100644 --- a/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js +++ b/modules/ve-mw/preinit/ve.init.mw.ArticleTargetSaver.js @@ -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 ) ); },