MediaWiki
fundraising/REL1_35
UploadStashFileHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MessageSpecifier
;
6
use
UploadBase
;
7
use
User
;
8
13
interface
UploadStashFileHook
{
33
public
function
onUploadStashFile
( $upload, $user, $props, &$error );
34
}
UploadBase
UploadBase and subclasses are the backend of MediaWiki's file uploads.
Definition
UploadBase.php:45
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Hook\UploadStashFileHook
Stable to implement.
Definition
UploadStashFileHook.php:13
MediaWiki\Hook\UploadStashFileHook\onUploadStashFile
onUploadStashFile( $upload, $user, $props, &$error)
This hook is called before a file is stashed (uploaded to stash).
MessageSpecifier
Stable for implementing.
Definition
MessageSpecifier.php:24
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
upload
Hook
UploadStashFileHook.php
Generated on Mon Nov 25 2024 16:15:58 for MediaWiki by
1.10.0