MediaWiki  master
LocalFile__getHistoryHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6 use File;
7 
29  public function onLocalFile__getHistory( $file, &$tables, &$fields, &$conds,
30  &$opts, &$join_conds
31  );
32 }
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition: File.php:68
This is a hook handler interface, see docs/Hooks.md.
onLocalFile__getHistory( $file, &$tables, &$fields, &$conds, &$opts, &$join_conds)
This hook is called before a file history query is performed.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42