MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUploadForm_initial ( $upload) | |
This hook is called before the upload form is generated. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UploadForm:initial" to register handlers implementing this interface.
Definition at line 15 of file UploadForm_initialHook.php.
MediaWiki\Hook\UploadForm_initialHook::onUploadForm_initial | ( | $upload | ) |
This hook is called before the upload form is generated.
Extensions might set the member-variables $uploadFormTextTop and $uploadFormTextAfterSummary to inject text (HTML) either before or after the editform.
SpecialUpload | $upload |
Implemented in MediaWiki\HookContainer\HookRunner.