The indices of the child Section objects within the parseSections
result array.
The body content of the section, with leading and trailing whitespace preserved.
The index up to, but not including, the end of the section in the wikitext.
==heading==
or the outerHTML of a heading element, as directly parsed from the wikitext.
This may include comment tags and a trailing newline.
For the top section, the value is empty.
The index number of the section. This is the same as the section
parameter of the edit API.
For the top section, the value is 0
.
This property also matches the index of this Section object within the result array returned by parseSections
.
The level of the section (1 to 6). For the top section, the value is 1
.
The index of the parent Section object within the parseSections
result array, or null
if there is no parent.
The index to the start of the section in the wikitext.
The title of the section. Could be different from the result of action=parse
if it contains HTML tags or templates.
For the top section, the value is top
.
Object that holds information about a section, parsed from wikitext.
This object is returned by Wikitext.parseSections.