MediaWiki  master
FileUndeleteCompleteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 use User;
7 
25  public function onFileUndeleteComplete( $title, $fileVersions, $user, $reason );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
$title
$title
Definition: testCompression.php:38
MediaWiki\Hook\FileUndeleteCompleteHook\onFileUndeleteComplete
onFileUndeleteComplete( $title, $fileVersions, $user, $reason)
This hook is called when a file is undeleted.
Title
Represents a title within MediaWiki.
Definition: Title.php:41
MediaWiki\Hook\FileUndeleteCompleteHook
Stable to implement.
Definition: FileUndeleteCompleteHook.php:12
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:55