MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onFileDeleteComplete ( $file, $oldimage, $article, $user, $reason) | |
This hook is called when a file is deleted. | |
Stable to implement.
Definition at line 13 of file FileDeleteCompleteHook.php.
MediaWiki\Hook\FileDeleteCompleteHook::onFileDeleteComplete | ( | $file, | |
$oldimage, | |||
$article, | |||
$user, | |||
$reason | |||
) |
This hook is called when a file is deleted.
LocalFile | $file | Reference to the deleted file |
string | $oldimage | In case of the deletion of an old image, the name of the old file |
WikiFilePage | $article | In case all revisions of the file are deleted, a reference to the WikiFilePage associated with the file |
User | $user | User who performed the deletion |
string | $reason | Reason |
Implemented in MediaWiki\HookContainer\HookRunner.