MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUploadComplete ( $uploadBase) | |
This hook is called upon completion of a file upload. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UploadComplete" to register handlers implementing this interface.
Definition at line 14 of file UploadCompleteHook.php.
MediaWiki\Hook\UploadCompleteHook::onUploadComplete | ( | $uploadBase | ) |
This hook is called upon completion of a file upload.
UploadBase | $uploadBase | UploadBase (or subclass) object. File can be accessed by $uploadBase->getLocalFile(). |
Implemented in MediaWiki\HookContainer\HookRunner.