MediaWiki master
FileUploadHook.php
Go to the documentation of this file.
1<?php
2
4
6
14interface FileUploadHook {
27 public function onFileUpload( $file, $reupload, $hasDescription );
28}
29
31class_alias( FileUploadHook::class, 'MediaWiki\\Hook\\FileUploadHook' );
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:79
This is a hook handler interface, see docs/Hooks.md.
onFileUpload( $file, $reupload, $hasDescription)
This hook is called when a file upload occurs.