MediaWiki master
UploadCreateFromRequestHook.php
Go to the documentation of this file.
1<?php
2
4
6
24 public function onUploadCreateFromRequest( $type, &$className );
25}
26
28class_alias( UploadCreateFromRequestHook::class, 'MediaWiki\\Hook\\UploadCreateFromRequestHook' );
UploadBase and subclasses are the backend of MediaWiki's file uploads.
This is a hook handler interface, see docs/Hooks.md.
onUploadCreateFromRequest( $type, &$className)
This hook is called when UploadBase::createFromRequest has been called.