Fix broken reference to the new EditPanel class

Missed that in I8588cde1a54cd505a57a36ed97fc591653c9fb6f

Bug: T369005
Change-Id: Ia08ac2d3d41ece91fe6b75d607d7b18f57f39333
This commit is contained in:
WMDE-Fisch 2024-07-22 13:23:20 +02:00
parent e5b4d9edfb
commit 42b658004b

View file

@ -295,7 +295,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 }`
) );
}