Extension:Math/Hooks/MathAfterTexvc

From MediaWiki.org
Jump to navigation Jump to search
MathAfterTexvc
Available from version 1.7.0 (Gerrit change 189348)
Removed in version 1.32.0
Called after TeX is processed just before saving the image to the right position and writing to database
Define function:
public static function onMathAfterTexvc( &$math, &$errmsg ) { ... }
Attach hook:
$wgHooks['MathAfterTexvc'][] = 'MyExtensionHooks::onMathAfterTexvc';
Called from:File(s): Math / MathTexvc.php
Function(s): callTexvc

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

Details[edit]

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