Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431667
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, 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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment