Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5946516
Wt2HtmlDOMProcessor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
760 B
Referenced Files
None
Subscribers
None
Wt2HtmlDOMProcessor.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\Wt2Html
;
use
Wikimedia\Parsoid\Config\Env
;
use
Wikimedia\Parsoid\DOM\DocumentFragment
;
use
Wikimedia\Parsoid\DOM\Element
;
use
Wikimedia\Parsoid\DOM\Node
;
/**
* wt2html DOM processor used to implement some DOM functionality
* (ex: DSR computation, template wrapping, etc.)
*/
interface
Wt2HtmlDOMProcessor
{
/**
* @param Env $env
* @param Element|DocumentFragment $root The root of the tree to process
* @param array $options
* @param bool $atTopLevel Is this processor invoked on the top level page?
* If false, this is being invoked in a sub-pipeline (ex: extensions)
*/
public
function
run
(
Env
$env
,
Node
$root
,
array
$options
=
[],
bool
$atTopLevel
=
false
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 2 2026, 19:40 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
80/4d/5237f75b23584389c980d14fba27
Default Alt Text
Wt2HtmlDOMProcessor.php (760 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment