Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6089080
FileUndeleteCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
813 B
Referenced Files
None
Subscribers
None
FileUndeleteCompleteHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Title\Title
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "FileUndeleteComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
FileUndeleteCompleteHook
{
/**
* This hook is called when a file is undeleted.
*
* @since 1.35
*
* @param Title $title Title object for the file
* @param int[] $fileVersions Array of undeleted filearchive IDs. Empty if
* all versions were restored.
* @param User $user User who performed the undeletion
* @param string $reason
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onFileUndeleteComplete
(
$title
,
$fileVersions
,
$user
,
$reason
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 5 2026, 17:39 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
63/97/4cc04b5c1f106c31b1687f8d70f3
Default Alt Text
FileUndeleteCompleteHook.php (813 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment