Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4046720
SelectiveUpdateData.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
922 B
Referenced Files
None
Subscribers
None
SelectiveUpdateData.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\Core
;
use
Wikimedia\Parsoid\DOM\Document
;
/**
* Data that's necessary for selective updates (whether html->wt or wt->html).
* This is always revision (current or previous)wikitext & html.
*/
class
SelectiveUpdateData
{
public
string
$revText
;
public
?
string
$revHTML
;
/**
* DOM document corresponding to $revHTML
*/
public
Document
$revDOM
;
/**
* If we are doing selective updates for a template edit,
* title string of the edited template.
*/
public
?
string
$templateTitle
;
/**
* Options for selective HTML updates: template, section, generic
*/
public
?
string
$mode
;
/**
* Data that's necessary to perform selective serialization.
*/
public
function
__construct
(
string
$revText
,
?
string
$revHTML
=
null
,
?
string
$mode
=
null
)
{
$this
->
revText
=
$revText
;
$this
->
revHTML
=
$revHTML
;
$this
->
mode
=
$mode
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 15 2026, 11:24 (12 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1d/1f/1fec7c143463addfe2e3dd5f3b17
Default Alt Text
SelectiveUpdateData.php (922 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment