Extension:Math/Hooks/MathRenderingResultRetrieved

From Linux Web Expert

Revision as of 21:43, 1 December 2023 by imported>SamanthaNguyen (+FQCN, pass by ref)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MathRenderingResultRetrieved
Available from version 1.19 (Gerrit change 224373)
Enables debugging of server results
Define function:
public static function onMathRenderingResultRetrieved( MediaWiki\Extension\Math\MathRenderer $renderer, stdClass &$jsonResult ) { ... }
Attach hook:
$wgHooks['MathRenderingResultRetrieved'][] = 'MyExtensionHooks::onMathRenderingResultRetrieved';
Called from:File(s): Math / MathLaTeXML.php, MathMathML.php
Function(s): doRender, processJsonResult

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:MathRenderingResultRetrieved extensions.