MediaWiki REL1_35
MediaWiki\Hook\LocalFile__getHistoryHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\LocalFile__getHistoryHook:

Public Member Functions

 onLocalFile__getHistory ( $file, &$tables, &$fields, &$conds, &$opts, &$join_conds)
 This hook is called before a file history query is performed.
 

Detailed Description

Stable to implement.

Definition at line 12 of file LocalFile__getHistoryHook.php.

Member Function Documentation

◆ onLocalFile__getHistory()

MediaWiki\Hook\LocalFile__getHistoryHook::onLocalFile__getHistory (   $file,
$tables,
$fields,
$conds,
$opts,
$join_conds 
)

This hook is called before a file history query is performed.

Since
1.35
Parameters
File$file
array&$tablesTables
array&$fieldsSelect fields
array&$condsConditions
array&$optsQuery options
array&$join_condsJOIN conditions
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: