mediawiki-extensions-Visual.../modules/ve-mw/dm
Ed Sanders cdfed7039f Handle meta-only transclusions as meta items
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
2013-07-24 14:27:24 +00:00
..
annotations Add a node class for mw:Nowiki 2013-07-16 19:35:24 -07:00
metaitems Handle meta-only transclusions as meta items 2013-07-24 14:27:24 +00:00
models Fix uses of addPart to make them async friendly 2013-07-12 01:30:04 +00:00
nodes Handle meta-only transclusions as meta items 2013-07-24 14:27:24 +00:00