MediaWiki master
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}
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.
Interface for objects which can provide a MediaWiki context on request.