Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7410687
AHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
AHandler.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\Html2Wt\DOMHandlers
;
use
Wikimedia\Parsoid\DOM\Element
;
use
Wikimedia\Parsoid\DOM\Node
;
use
Wikimedia\Parsoid\Html2Wt\SerializerState
;
class
AHandler
extends
DOMHandler
{
public
function
__construct
()
{
parent
::
__construct
(
false
);
}
/** @inheritDoc */
public
function
handle
(
Element
$node
,
SerializerState
$state
,
bool
$wrapperUnmodified
=
false
):
?
Node
{
$state
->
serializer
->
linkHandler
(
$node
);
return
$node
->
nextSibling
;
}
// TODO: Implement link tail escaping with nowiki in DOM handler!
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 23:06 (1 d, 20 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9c/29/dac1af82e04ec1d07e89884fcac5
Default Alt Text
AHandler.php (583 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment