MediaWiki REL1_35
MediaWiki\Hook\UploadForm_initialHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\UploadForm_initialHook:

Public Member Functions

 onUploadForm_initial ( $upload)
 This hook is called before the upload form is generated.
 

Detailed Description

Stable to implement.

Definition at line 12 of file UploadForm_initialHook.php.

Member Function Documentation

◆ onUploadForm_initial()

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.

Since
1.35
Parameters
SpecialUpload$upload
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: