Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Core\SelectiveUpdateData Class Reference

Data that's necessary for selective updates (whether html->wt or wt->html). More...

+ Inheritance diagram for Wikimedia\Parsoid\Core\SelectiveUpdateData:
+ Collaboration diagram for Wikimedia\Parsoid\Core\SelectiveUpdateData:

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.
 

Detailed Description

Data that's necessary for selective updates (whether html->wt or wt->html).

This is always revision (current or previous)wikitext & html.


The documentation for this class was generated from the following file: