From 42b658004bcd6ae9874e9c7d63c6d0111eb9b699 Mon Sep 17 00:00:00 2001 From: WMDE-Fisch Date: Mon, 22 Jul 2024 13:23:20 +0200 Subject: [PATCH] Fix broken reference to the new EditPanel class Missed that in I8588cde1a54cd505a57a36ed97fc591653c9fb6f Bug: T369005 Change-Id: Ia08ac2d3d41ece91fe6b75d607d7b18f57f39333 --- modules/ve-cite/ve.ui.MWReferenceDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-cite/ve.ui.MWReferenceDialog.js b/modules/ve-cite/ve.ui.MWReferenceDialog.js index 8d220b9d7..a31079664 100644 --- a/modules/ve-cite/ve.ui.MWReferenceDialog.js +++ b/modules/ve-cite/ve.ui.MWReferenceDialog.js @@ -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' ) }
${ parentRefText }` ) ); }