mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 10:59:56 +00:00
VisualDiff: Ignore changes to originalMw
This can happen when switching editors. Change-Id: Iec86efcdf5488918e53d69a0217d1ec4e3bb7f88
This commit is contained in:
parent
11769a5196
commit
a6460a3025
|
@ -123,6 +123,14 @@ ve.dm.MWReferencesListNode.static.toDomElements = function ( data, doc, converte
|
|||
return els;
|
||||
};
|
||||
|
||||
ve.dm.MWReferencesListNode.static.describeChange = function ( key ) {
|
||||
if ( key === 'originalMw' ) {
|
||||
return null;
|
||||
}
|
||||
// Parent method
|
||||
return ve.dm.MWReferencesListNode.super.static.describeChange.apply( this, arguments );
|
||||
};
|
||||
|
||||
/* Registration */
|
||||
|
||||
ve.dm.modelRegistry.register( ve.dm.MWReferencesListNode );
|
||||
|
|
Loading…
Reference in a new issue