MediaWiki master
FileUndeleteCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Specials\Hook;
4
5use MediaWiki\Title\Title;
6use MediaWiki\User\User;
7
28 public function onFileUndeleteComplete( $title, $fileVersions, $user, $reason );
29}
30
32class_alias( FileUndeleteCompleteHook::class, 'MediaWiki\\Hook\\FileUndeleteCompleteHook' );
This is a hook handler interface, see docs/Hooks.md.
onFileUndeleteComplete( $title, $fileVersions, $user, $reason)
This hook is called when a file is undeleted.