MediaWiki REL1_35
MediaWiki\Hook\UploadCompleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\UploadCompleteHook:

Public Member Functions

 onUploadComplete ( $uploadBase)
 This hook is called upon completion of a file upload.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UploadCompleteHook.php.

Member Function Documentation

◆ onUploadComplete()

MediaWiki\Hook\UploadCompleteHook::onUploadComplete (   $uploadBase)

This hook is called upon completion of a file upload.

Since
1.35
Parameters
UploadBase$uploadBaseUploadBase (or subclass) object. File can be accessed by $uploadBase->getLocalFile().
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: