Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5985756
AnnotationStripper.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
515 B
Referenced Files
None
Subscribers
None
AnnotationStripper.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment