MediaWiki REL1_35
ImagePageFindFileHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use File;
6use ImagePage;
7
25 public function onImagePageFindFile( $page, &$file, &$displayFile );
26}
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:63
Class for viewing MediaWiki file description pages.
Definition ImagePage.php:33
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