Merge "Fix broken reference to the new EditPanel class"

This commit is contained in:
jenkins-bot 2024-07-22 14:25:13 +00:00 committed by Gerrit Code Review
commit dfb107a22a

View file

@ -216,7 +216,7 @@ ve.ui.MWReferenceDialog.prototype.updateExtendsWarningFromRef = function ( ref )
const itemNode = list.getItemNode( list.keys.indexOf( ref.extendsRef ) );
const parentRefText = new ve.ui.MWPreviewElement( itemNode, { useView: true } ).$element.text();
// TODO extends i18n
this.extendsWarning.setLabel( new OO.ui.HtmlSnippet(
this.editPanel.extendsWarning.setLabel( new OO.ui.HtmlSnippet(
`${ mw.msg( 'cite-ve-dialog-reference-editing-extends' ) }</br>${ parentRefText }`
) );
}