mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-23 11:32:51 +00:00
Merge "MWExternalLinkAnnotation: Call core method to evaluate diff"
This commit is contained in:
commit
5dbc152990
|
@ -80,7 +80,7 @@ ve.dm.MWExternalLinkAnnotation.static.toDomElements = function ( dataElement, do
|
||||||
|
|
||||||
ve.dm.MWExternalLinkAnnotation.static.describeChange = function ( key, change ) {
|
ve.dm.MWExternalLinkAnnotation.static.describeChange = function ( key, change ) {
|
||||||
if ( key === 'href' ) {
|
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;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue