Merge "MWEntityNode: Remove now-unnecessary allowedRdfaTypes"

This commit is contained in:
jenkins-bot 2022-03-08 21:09:02 +00:00 committed by Gerrit Code Review
commit 2544d5cfa8

View file

@ -33,10 +33,6 @@ ve.dm.MWEntityNode.static.matchTagNames = [ 'span' ];
ve.dm.MWEntityNode.static.matchRdfaTypes = [ 'mw:Entity', 'mw:DisplaySpace' ];
// mw:Placeholder was removed from mw:DisplaySpace (T254502) but this
// code should stick around until the RESTBase cache turns over.
ve.dm.MWEntityNode.static.allowedRdfaTypes = [ 'mw:Placeholder' ];
ve.dm.MWEntityNode.static.toDataElement = function ( domElements ) {
var dataElement = {
type: this.name,