Page MenuHomeWickedGov Phorge

AnnotationStripper.php
No OneTemporary

Size
515 B
Referenced Files
None
Subscribers
None

AnnotationStripper.php

<?php
namespace Wikimedia\Parsoid\Ext;
/**
* A Parsoid extension module defining annotations should define an AnnotationStripper
* that allows Parsoid to strip annotation markup from an arbitrary string, typically in
* the content of non-wikitext extensions (such as SyntaxHighlight) in the wt2html direction.
*/
interface AnnotationStripper {
/**
* Strip annotation markup from the provided string $s
* @param string $s
* @return string
*/
public function stripAnnotations( string $s ): string;
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 20:56 (1 d, 8 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7c/ee/10d4e83f87c56c0ededb840e9853
Default Alt Text
AnnotationStripper.php (515 B)

Event Timeline