MediaWiki fundraising/REL1_35
UploadStashFileHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6use UploadBase;
7use User;
8
33 public function onUploadStashFile( $upload, $user, $props, &$error );
34}
UploadBase and subclasses are the backend of MediaWiki's file uploads.
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
onUploadStashFile( $upload, $user, $props, &$error)
This hook is called before a file is stashed (uploaded to stash).
Stable for implementing.