mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
ve-cite: Handle ref nodes with mw:Error RDFa
Bug: T299378 Bug: T299672 Change-Id: I7bc7dfb4fb9c0c9b140b793e6e0b2d00b7fe67e0
This commit is contained in:
parent
76858930e2
commit
a2c927f8b8
|
@ -44,7 +44,8 @@ ve.dm.MWReferenceNode.static.matchTagNames = null;
|
|||
|
||||
ve.dm.MWReferenceNode.static.matchRdfaTypes = [ 'mw:Extension/ref' ];
|
||||
|
||||
ve.dm.MWReferenceNode.static.allowedRdfaTypes = [ 'dc:references' ];
|
||||
// Handle nodes with mw:Error as this probably just means the ref list doesn't exist (T299672)
|
||||
ve.dm.MWReferenceNode.static.allowedRdfaTypes = [ 'dc:references', 'mw:Error' ];
|
||||
|
||||
ve.dm.MWReferenceNode.static.isContent = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue