diff --git a/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js index c71c09d528..eea84deb79 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ArticleTarget.js @@ -604,8 +604,8 @@ ve.init.mw.ArticleTarget.prototype.replacePageContent = function ( $( '#catlinks' ).replaceWith( $categories ); } - // eslint-disable-next-line no-jquery/no-html - $( '#contentSub, .minerva__subtitle' ).html( contentSub ); + mw.util.clearSubtitle(); + mw.util.addSubtitle( contentSub ); this.setRealRedirectInterface();