Class allowing to explore structure of parsed wikitext.
getDefaultSort()
Get the defaultsort property.
extractHeadingBeforeFirstHeading( $text)
Get text before first heading.
string[] $auxiliaryElementSelectors
selectors to elements that are considered auxiliary to article text for search
ParserOutput $parserOutput
static parseSettingsInMessage( $message)
Parse a message content into an array.
extractWikitextParts()
Extract parts of the text - opening, main and auxiliary.
string[] $excludedElementSelectors
selectors to elements that are excluded entirely from search
headings()
Get headings on the page.
getIgnoredHeadings()
Get list of heading to ignore.
__construct(ParserOutput $parserOutput)