MediaWiki master
ImagePageFindFileHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use File;
6use ImagePage;
7
28 public function onImagePageFindFile( $page, &$file, &$displayFile );
29}
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:79
Rendering of file description pages.
Definition ImagePage.php:39
This is a hook handler interface, see docs/Hooks.md.
onImagePageFindFile( $page, &$file, &$displayFile)
This hook is called when fetching the file associated with an image page.