MediaWiki  master
LinkerMakeMediaLinkFileHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use File;
7 
28  public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs,
29  &$ret
30  );
31 }
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition: File.php:70
Represents a title within MediaWiki.
Definition: Title.php:76
This is a hook handler interface, see docs/Hooks.md.
onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs, &$ret)
This hook is called at the end of Linker::makeMediaLinkFile() just before the return.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42