Page MenuHomeWickedGov Phorge

DummyAnnotation.php
No OneTemporary

Size
661 B
Referenced Files
None
Subscribers
None

DummyAnnotation.php

<?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

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)

Event Timeline