Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4062547
ParsoidExt.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
975 B
Referenced Files
None
Subscribers
None
ParsoidExt.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\SyntaxHighlight
;
use
Wikimedia\Parsoid\Ext\ExtensionModule
;
class
ParsoidExt
implements
ExtensionModule
{
/** @inheritDoc */
public
function
getConfig
():
array
{
return
[
'name'
=>
'SyntaxHighlight'
,
'tags'
=>
[
[
'name'
=>
'source'
,
'handler'
=>
SyntaxHighlight
::
class
,
'options'
=>
[
// Strip nowiki markers from #tag parser-function arguments.
// This will be used to resolve T299103.
// This is primarily a b/c flag in Parsoid.
'stripNowiki'
=>
true
,
'hasWikitextInput'
=>
false
,
]
],
[
'name'
=>
'syntaxhighlight'
,
'handler'
=>
SyntaxHighlight
::
class
,
'options'
=>
[
// Strip nowiki markers from #tag parser-function arguments.
// This will be used to resolve T299103.
// This is primarily a b/c flag in Parsoid.
'stripNowiki'
=>
true
,
'hasWikitextInput'
=>
false
,
]
]
]
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 11:01 (12 w, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fd/a1/221364666ffb59c6495abcf19692
Default Alt Text
ParsoidExt.php (975 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment