Extension:Wiki2LaTeX/Documentation/Hooks

This page describes all available hooks.

w2lRegisterOptions
Usage: Used to tell W2L some new Form-Parameters which should be loaded into the parser.

Callback Definition: function fnMyHook(&$core) { ... }

Attach Hook: $wgHooks['w2lRegisterOptions'][] = 'fnMyHook';

Examples: contrib/mathpazo.php

w2lFormOptions
Usage: Adds new HTML-Code to the LaTeX-Form.

Callback Definition: function fnMyHook(&$core, &$output) { ... }

Attach Hook: $wgHooks['w2lFormOptions'][] = 'fnMyHook';

Examples: contrib/mathpazo.php

w2lFormOptions
Usage: Adds new HTML-Code to the LaTeX-Form.

Callback Definition: function fnMyHook(&$core, &$output) { ... }

Attach Hook: $wgHooks['w2lFormOptions'][] = 'fnMyHook';

Examples: contrib/mathpazo.php