MediaWiki
master
FileUploadHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
File
;
6
14
interface
FileUploadHook
{
27
public
function
onFileUpload
( $file, $reupload, $hasDescription );
28
}
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:79
MediaWiki\Hook\FileUploadHook
This is a hook handler interface, see docs/Hooks.md.
Definition
FileUploadHook.php:14
MediaWiki\Hook\FileUploadHook\onFileUpload
onFileUpload( $file, $reupload, $hasDescription)
This hook is called when a file upload occurs.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
filerepo
Hook
FileUploadHook.php
Generated on Tue Dec 10 2024 08:23:58 for MediaWiki by
1.10.0