Each WikiHeadingType implies specific fields in WikiHeading:
PARSOID implies that there is no headline element, and that the h
element is the root heading element. This means h.innerText will be
"Section title".
OLD implies that there is a headline element and possibly an editsection
element, and that the h is the root heading element. This means that
h.innerText will be "Section title[edit | edit source]" or similar.
NEW implies that there is a headline element and possibly an editsection
element, and that a div is the root heading element. This means that
h.innerText will be "Section title".
Each WikiHeadingType implies specific fields in WikiHeading:
PARSOID
implies that there is no headline element, and that theh
element is the root heading element. This meansh.innerText
will be "Section title".OLD
implies that there is a headline element and possibly an editsection element, and that theh
is the root heading element. This means thath.innerText
will be "Section title[edit | edit source]" or similar.NEW
implies that there is a headline element and possibly an editsection element, and that adiv
is the root heading element. This means thath.innerText
will be "Section title".