|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onImagePageFindFile ( $page, &$file, &$displayFile) | |
| This hook is called when fetching the file associated with an image page. | |
Stable to implement.
Definition at line 12 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.