MediaWiki REL1_37
ApiFormatHighlightHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
6
27 public function onApiFormatHighlight( $context, $text, $mime, $format );
28}
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
onApiFormatHighlight( $context, $text, $mime, $format)
Use this hook to syntax-highlight API pretty-printed output.
$mime
Definition router.php:60