MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onApiFormatHighlight ( $context, $text, $mime, $format) | |
Use this hook to syntax-highlight API pretty-printed output. | |
Stable to implement.
Definition at line 11 of file ApiFormatHighlightHook.php.
MediaWiki\Api\Hook\ApiFormatHighlightHook::onApiFormatHighlight | ( | $context, | |
$text, | |||
$mime, | |||
$format | |||
) |
Use this hook to syntax-highlight API pretty-printed output.
IContextSource | $context | |
string | $text | Text to be highlighted |
string | $mime | MIME type of $text |
string | $format | API format code for $text |
Implemented in MediaWiki\Api\ApiHookRunner.