MediaWiki
REL1_37
ImagePageFindFileHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
File
;
6
use
ImagePage
;
7
15
interface
ImagePageFindFileHook
{
28
public
function
onImagePageFindFile
( $page, &
$file
, &$displayFile );
29
}
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:66
ImagePage
Class for viewing MediaWiki file description pages.
Definition
ImagePage.php:34
MediaWiki\Page\Hook\ImagePageFindFileHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ImagePageFindFileHook.php:15
MediaWiki\Page\Hook\ImagePageFindFileHook\onImagePageFindFile
onImagePageFindFile( $page, &$file, &$displayFile)
This hook is called when fetching the file associated with an image page.
MediaWiki\Page\Hook
Definition
Article__MissingArticleConditionsHook.php:3
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
includes
page
Hook
ImagePageFindFileHook.php
Generated on Fri Apr 5 2024 23:40:37 for MediaWiki by
1.9.8