Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5989808
DummyAnnotation.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
661 B
Referenced Files
None
Subscribers
None
DummyAnnotation.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
Wikimedia\Parsoid\ParserTests
;
use
Wikimedia\Parsoid\Ext\ExtensionModule
;
use
Wikimedia\Parsoid\Ext\ExtensionTagHandler
;
/**
* Dummy annotation to test the annotation mechanisms outside of any extension-specific
* considerations.
*/
class
DummyAnnotation
extends
ExtensionTagHandler
implements
ExtensionModule
{
/** @inheritDoc */
public
function
getConfig
():
array
{
return
[
'name'
=>
'DummyAnnotation'
,
// If these are not the same length as "translate" and "tvar"
// respectively, it requires adjusting wtOffsets in the (large) test file.
'annotations'
=>
[
'dummyanno'
,
'ann2'
]
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Oct 4, 01:15 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
55/f8/1339902185350c461a7259ece2c7
Default Alt Text
DummyAnnotation.php (661 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment