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, Oct 3, 23:53 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bd/3e/71ae80d407829e949654e58b5316
Default Alt Text
AnnotationStripper.php (515 B)

Event Timeline