Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431931
DiffUtils.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
682 B
Referenced Files
None
Subscribers
None
DiffUtils.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\Ext
;
use
Wikimedia\Parsoid\DOM\Element
;
use
Wikimedia\Parsoid\DOM\Node
;
use
Wikimedia\Parsoid\Html2Wt\DiffUtils
as
DU
;
/**
*/
class
DiffUtils
{
/**
* Check a node to see whether it's a diff marker.
*/
public
static
function
isDiffMarker
(
?
Node
$node
,
?
string
$mark
=
null
):
bool
{
return
DU
::
isDiffMarker
(
$node
,
$mark
);
}
/**
* Check that the diff markers on the node exist.
*/
public
static
function
hasDiffMarkers
(
Node
$node
):
bool
{
return
DU
::
hasDiffMarkers
(
$node
);
}
public
static
function
subtreeUnchanged
(
Element
$node
):
bool
{
return
DU
::
subtreeUnchanged
(
$node
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 21:14 (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/66/7b6dbb8b2bf1004a047c4db20562
Default Alt Text
DiffUtils.php (682 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment