Merge "Use new stable API for subtitle modification"

This commit is contained in:
jenkins-bot 2022-12-14 04:12:38 +00:00 committed by Gerrit Code Review
commit 0c5f131976

View file

@ -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();