MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Hook;
5 use File;
6 use Title;
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:67
Represents a title within MediaWiki.
Definition: Title.php:52
This is a hook handler interface, see docs/
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