MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onImagePageShowTOC ( $page, &$toc) | |
This hook is called when the file toc on an image page is generated. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ImagePageShowTOC" to register handlers implementing this interface.
Definition at line 14 of file ImagePageShowTOCHook.php.
MediaWiki\Page\Hook\ImagePageShowTOCHook::onImagePageShowTOC | ( | $page, | |
& | $toc ) |
This hook is called when the file toc on an image page is generated.
ImagePage | $page | |
string[] | &$toc | Array of <li> strings |
Implemented in MediaWiki\HookContainer\HookRunner.