From 5a51096e5e1e46888ecda51a67d986632deb7dbd Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 22 Jan 2021 17:33:24 +0000 Subject: [PATCH] MWExternalLinkAnnotation: Call core method to evaluate diff For this key ('href') the core method is identical. Change-Id: Ibec341c8a5a685f13e690be4107e3066fc7d7040 --- modules/ve-mw/dm/annotations/ve.dm.MWExternalLinkAnnotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/dm/annotations/ve.dm.MWExternalLinkAnnotation.js b/modules/ve-mw/dm/annotations/ve.dm.MWExternalLinkAnnotation.js index 7df3892649..8f8fe5b352 100644 --- a/modules/ve-mw/dm/annotations/ve.dm.MWExternalLinkAnnotation.js +++ b/modules/ve-mw/dm/annotations/ve.dm.MWExternalLinkAnnotation.js @@ -80,7 +80,7 @@ ve.dm.MWExternalLinkAnnotation.static.toDomElements = function ( dataElement, do ve.dm.MWExternalLinkAnnotation.static.describeChange = function ( key, change ) { if ( key === 'href' ) { - return ve.htmlMsg( 'visualeditor-changedesc-link-href', this.wrapText( 'del', change.from ), this.wrapText( 'ins', change.to ) ); + return ve.dm.LinkAnnotation.static.describeChange( key, change ); } return null; };