Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5982421
DummyDOMTransformStage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
DummyDOMTransformStage.php
View Options
<?php
namespace
MediaWiki\Tests\OutputTransform
;
use
MediaWiki\OutputTransform\ContentDOMTransformStage
;
use
MediaWiki\Parser\ParserOptions
;
use
MediaWiki\Parser\ParserOutput
;
use
Wikimedia\Parsoid\DOM\Document
;
class
DummyDOMTransformStage
extends
ContentDOMTransformStage
{
public
function
transformDOM
(
Document
$dom
,
ParserOutput
$po
,
?
ParserOptions
$popts
,
array
&
$options
):
Document
{
return
$dom
;
}
public
function
shouldRun
(
ParserOutput
$po
,
?
ParserOptions
$popts
,
array
$options
=
[]
):
bool
{
return
true
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 22:21 (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fd/81/19c110cd6ac4c4a22230ffd21392
Default Alt Text
DummyDOMTransformStage.php (536 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment