mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-19 04:05:57 +00:00
cdfed7039f
To achieve this we need to evaluate the DOM contents of transclusion nodes to see if it consists solely of meta items and whitespace. To check for meta items we do a model registry match, but with an additional parameter to exclude mwTransclusion types as a possible result (as the first item may be a meta tag, but with a mw:Transclusion typeof attribute). Bug: 51322 Change-Id: I89a220350fb7e10e15f3682d21438539196a5846 |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.InternalList.test.js | ||
ve.dm.MWConverter.test.js | ||
ve.dm.mwExample.js | ||
ve.dm.SurfaceFragment.test.js |