MediaWiki REL1_35
LinkerMakeMediaLinkFileHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use File;
6use Title;
7
25 public function onLinkerMakeMediaLinkFile( $title, $file, &$html, &$attribs,
26 &$ret
27 );
28}
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:63
Represents a title within MediaWiki.
Definition Title.php:42
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