|
MediaWiki 1.43.1
|
Maintenance script to parse some wikitext. More...
Inherits Maintenance.

Public Member Functions | |
| __construct () | |
| execute () | |
| render ( $wikitext) | |
Protected Member Functions | |
| getTitle () | |
| Title object to use for CLI parsing. | |
| initParser () | |
| Wikitext () | |
| Get wikitext from a the file passed as argument or STDIN. | |
Protected Attributes | |
| Parser ParsoidParser | $parser |
| CLIParser::execute | ( | ) |
Definition at line 84 of file parse.php.
References initParser(), render(), and Wikitext().
|
protected |
|
protected |
| CLIParser::render | ( | $wikitext | ) |
| string | $wikitext | Wikitext to get rendered |
Definition at line 93 of file parse.php.
References getTitle().
Referenced by execute().
|
protected |
Get wikitext from a the file passed as argument or STDIN.
Definition at line 110 of file parse.php.
References wfIsWindows().
Referenced by execute().
|
protected |