MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Page\Hook;
5 use File;
6 use ImagePage;
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:68
Rendering of file description pages.
Definition: ImagePage.php:31
This is a hook handler interface, see docs/
onImagePageFindFile( $page, &$file, &$displayFile)
This hook is called when fetching the file associated with an image page.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42