MediaWiki REL1_35
FileDeleteCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use LocalFile;
6use User;
8
27 public function onFileDeleteComplete( $file, $oldimage, $article, $user,
28 $reason
29 );
30}
Class to represent a local file in the wiki's own database.
Definition LocalFile.php:59
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
Special handling for file pages.
onFileDeleteComplete( $file, $oldimage, $article, $user, $reason)
This hook is called when a file is deleted.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition router.php:42