mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "MWEntityNode: Remove now-unnecessary allowedRdfaTypes"
This commit is contained in:
commit
2544d5cfa8
|
@ -33,10 +33,6 @@ ve.dm.MWEntityNode.static.matchTagNames = [ 'span' ];
|
||||||
|
|
||||||
ve.dm.MWEntityNode.static.matchRdfaTypes = [ 'mw:Entity', 'mw:DisplaySpace' ];
|
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 ) {
|
ve.dm.MWEntityNode.static.toDataElement = function ( domElements ) {
|
||||||
var dataElement = {
|
var dataElement = {
|
||||||
type: this.name,
|
type: this.name,
|
||||||
|
|
Loading…
Reference in a new issue