Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7446095
UploadForm_initialHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
788 B
Referenced Files
None
Subscribers
None
UploadForm_initialHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Specials\SpecialUpload
;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UploadForm:initial" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UploadForm_initialHook
{
/**
* 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
*
* @param SpecialUpload $upload
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUploadForm_initial
(
$upload
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 18:29 (1 d, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
69/db/89a9310c9a67740de10ffea592ce
Default Alt Text
UploadForm_initialHook.php (788 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment