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:
PARSOIDimplies that there is no headline element, and that thehelement is the root heading element. This meansh.innerTextwill be "Section title".OLDimplies that there is a headline element and possibly an editsection element, and that thehis the root heading element. This means thath.innerTextwill be "Section title[edit | edit source]" or similar.NEWimplies that there is a headline element and possibly an editsection element, and that adivis the root heading element. This means thath.innerTextwill be "Section title".