MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onImagePageFindFile ( $page, &$file, &$displayFile) | |
This hook is called when fetching the file associated with an image page. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ImagePageFindFile" to register handlers implementing this interface.
Definition at line 15 of file ImagePageFindFileHook.php.
MediaWiki\Page\Hook\ImagePageFindFileHook::onImagePageFindFile | ( | $page, | |
& | $file, | ||
& | $displayFile | ||
) |
This hook is called when fetching the file associated with an image page.
ImagePage | $page | |
File | false | &$file | False on input, can be replaced with a File |
File | false | &$displayFile | False on input, can be replaced with a file to display. |
Implemented in MediaWiki\HookContainer\HookRunner.