Enumeration WikiHeadingType

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".

Enumeration Members

Enumeration Members

NEW: 2
OLD: 1
PARSOID: 0