Extension:MathSearch/Hooks/MathSearchGenerateAnchorString

From Linux Web Expert

Revision as of 19:23, 19 March 2020 by imported>Shirayuki (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MathSearchGenerateAnchorString
Available from version ??? (Gerrit change 189413)

Define function:
public static function onMathSearchGenerateAnchorString( $revId, $anchorID, $prefix, &$result ) { ... }
Attach hook:
$wgHooks['MathSearchGenerateAnchorString'][] = 'MyExtensionHooks::onMathSearchGenerateAnchorString';
Called from:File(s): MathSearch / includes/MathSearchHooks.php

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