|
MediaWiki REL1_39
|
Class allowing to explore structure of parsed wikitext. More...
Public Member Functions | |
| __construct (ParserOutput $parserOutput) | |
| getAuxiliaryText () | |
| getDefaultSort () | |
| Get the defaultsort property. | |
| getMainText () | |
| getOpeningText () | |
| headings () | |
| Get headings on the page. | |
Static Public Member Functions | |
| static | parseSettingsInMessage ( $message) |
| Parse a message content into an array. | |
Class allowing to explore structure of parsed wikitext.
Definition at line 8 of file WikiTextStructure.php.
| WikiTextStructure::__construct | ( | ParserOutput | $parserOutput | ) |
| ParserOutput | $parserOutput |
Definition at line 68 of file WikiTextStructure.php.
| WikiTextStructure::getAuxiliaryText | ( | ) |
Definition at line 236 of file WikiTextStructure.php.
| WikiTextStructure::getDefaultSort | ( | ) |
Get the defaultsort property.
Definition at line 245 of file WikiTextStructure.php.
| WikiTextStructure::getMainText | ( | ) |
Definition at line 228 of file WikiTextStructure.php.
| WikiTextStructure::getOpeningText | ( | ) |
Definition at line 220 of file WikiTextStructure.php.
| WikiTextStructure::headings | ( | ) |
Get headings on the page.
Definition at line 85 of file WikiTextStructure.php.
|
static |
Parse a message content into an array.
This function is generally used to parse settings stored as i18n messages (see search-ignored-headings).
| string | $message |
Definition at line 117 of file WikiTextStructure.php.
References $lines.