MediaWiki
master
FileDeleteCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
LocalFile
;
6
use
MediaWiki\User\User
;
7
use
WikiFilePage
;
8
16
interface
FileDeleteCompleteHook
{
30
public
function
onFileDeleteComplete
( $file, $oldimage, $article, $user,
31
$reason
32
);
33
}
LocalFile
Local file in the wiki's own database.
Definition
LocalFile.php:75
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
WikiFilePage
Special handling for representing file pages.
Definition
WikiFilePage.php:32
MediaWiki\Hook\FileDeleteCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
FileDeleteCompleteHook.php:16
MediaWiki\Hook\FileDeleteCompleteHook\onFileDeleteComplete
onFileDeleteComplete( $file, $oldimage, $article, $user, $reason)
This hook is called when a file is deleted.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
FileDeleteCompleteHook.php
Generated on Mon Dec 2 2024 19:23:52 for MediaWiki by
1.10.0