MediaWiki  master
LinkerMakeMediaLinkFileHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use File;
6 use Title;
7 
28  public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs,
29  &$ret
30  );
31 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.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
MediaWiki\Hook\LinkerMakeMediaLinkFileHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LinkerMakeMediaLinkFileHook.php:15
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition: File.php:63
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:41
MediaWiki\Hook\LinkerMakeMediaLinkFileHook\onLinkerMakeMediaLinkFile
onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs, &$ret)
This hook is called at the end of Linker::makeMediaLinkFile() just before the return.