MediaWiki  master
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 
30  public function onFileDeleteComplete( $file, $oldimage, $article, $user,
31  $reason
32  );
33 }
Local file in the wiki's own database.
Definition: LocalFile.php:60
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:70
Special handling for representing file pages.
This is a hook handler interface, see docs/Hooks.md.
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