Manual:Hooks/MathAfterTexvc

From MediaWiki.org

Jump to: navigation, search
MathAfterTexvc
Available from version 1.7.0
Called after Tex is processed just before saving the image to the right position and writing to database

*Define function:
function fnMyHook( &$math, &$errmsg ) { ... }

*Attach hook:
$wgHooks['MathAfterTexvc'][] = 'fnMyHook';
Called from: Math.php

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


[edit] Details

  • $math: current math object
  • $errmsg: error message