MediaWiki
REL1_35
FileDeleteCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
LocalFile
;
6
use
User
;
7
use
WikiFilePage
;
8
13
interface
FileDeleteCompleteHook
{
27
public
function
onFileDeleteComplete
(
$file
, $oldimage, $article, $user,
28
$reason
29
);
30
}
LocalFile
Class to represent a local file in the wiki's own database.
Definition
LocalFile.php:59
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
WikiFilePage
Special handling for file pages.
Definition
WikiFilePage.php:31
MediaWiki\Hook\FileDeleteCompleteHook
Stable to implement.
Definition
FileDeleteCompleteHook.php:13
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
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
includes
Hook
FileDeleteCompleteHook.php
Generated on Sat Apr 6 2024 00:07:12 for MediaWiki by
1.9.8