MediaWiki REL1_39
MediaWiki\Hook\LocalFile__getHistoryHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "LocalFile::getHistory" to register handlers implementing this interface.

Deprecated
since 1.37

Definition at line 15 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&$tables
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: