Merge "Fire the 'wikipage.content' hook on previews"

This commit is contained in:
jenkins-bot 2021-04-15 20:51:02 +00:00 committed by Gerrit Code Review
commit 49e23bf683

View file

@ -640,6 +640,8 @@ ReplyWidget.prototype.preparePreview = function ( wikitext ) {
mw.loader.load( response.parse.modulestyles ); mw.loader.load( response.parse.modulestyles );
mw.loader.load( response.parse.modules ); mw.loader.load( response.parse.modules );
} }
mw.hook( 'wikipage.content' ).fire( widget.$preview );
} ); } );
}; };