MediaWiki  master
ImagePageShowTOCHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Page\Hook;
4 
5 use ImagePage;
6 
24  public function onImagePageShowTOC( $page, &$toc );
25 }
ImagePage
Class for viewing MediaWiki file description pages.
Definition: ImagePage.php:34
Page::Hook\ImagePageShowTOCHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ImagePageShowTOCHook.php:14
Page::Hook\ImagePageShowTOCHook\onImagePageShowTOC
onImagePageShowTOC( $page, &$toc)
This hook is called when the file toc on an image page is generated.
MediaWiki\Page\Hook
Definition: Article__MissingArticleConditionsHook.php:3