mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "Prevent link-annotating MWReferences"
This commit is contained in:
commit
457cbfdbe8
|
@ -39,6 +39,8 @@ ve.dm.MWReferenceNode.static.matchRdfaTypes = [ 'mw:Extension/ref' ];
|
|||
|
||||
ve.dm.MWReferenceNode.static.isContent = true;
|
||||
|
||||
ve.dm.MWReferenceNode.static.blacklistedAnnotationTypes = [ 'link' ];
|
||||
|
||||
ve.dm.MWReferenceNode.static.toDataElement = function ( domElements, converter ) {
|
||||
var dataElement,
|
||||
mwDataJSON = domElements[0].getAttribute( 'data-mw' ),
|
||||
|
|
Loading…
Reference in a new issue