MediaWiki REL1_35
ApiFormatHighlightHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
6
24 public function onApiFormatHighlight( $context, $text, $mime, $format );
25}
Interface for objects which can provide a MediaWiki context on request.
onApiFormatHighlight( $context, $text, $mime, $format)
Use this hook to syntax-highlight API pretty-printed output.
$mime
Definition router.php:60