Parsoid
A bidirectional parser between wikitext and HTML5
|
Data that's necessary for selective updates (whether html->wt or wt->html). More...
Public Member Functions | |
__construct (string $revText, ?string $revHTML=null, ?string $mode=null) | |
Data that's necessary to perform selective serialization. | |
Public Attributes | |
string | $revText |
string | $revHTML |
Document | $revDOM |
DOM document corresponding to $revHTML. | |
string | $templateTitle |
If we are doing selective updates for a template edit, title string of the edited template. | |
string | $mode |
Options for selective HTML updates: template, section, generic. | |
Data that's necessary for selective updates (whether html->wt or wt->html).
This is always revision (current or previous)wikitext & html.