Merge "Prevent link-annotating MWReferences"

This commit is contained in:
jenkins-bot 2013-11-19 11:01:40 +00:00 committed by Gerrit Code Review
commit 457cbfdbe8

View file

@ -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' ),