MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onBeforeParserFetchFileAndTitle ( $parser, $nt, &$options, &$descQuery) | |
This hook is called before an image is rendered by Parser. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "BeforeParserFetchFileAndTitle" to register handlers implementing this interface.
Definition at line 15 of file BeforeParserFetchFileAndTitleHook.php.
MediaWiki\Hook\BeforeParserFetchFileAndTitleHook::onBeforeParserFetchFileAndTitle | ( | $parser, | |
$nt, | |||
& | $options, | ||
& | $descQuery ) |
This hook is called before an image is rendered by Parser.
Parser | $parser | |
Title | $nt | Image title |
array | &$options | Array of options to RepoGroup::findFile. If it contains 'broken' as a key then the file will appear as a broken thumbnail. If it contains private as a key, the value must be an Authority object. |
string | &$descQuery | Query string to add to thumbnail URL |
Implemented in MediaWiki\HookContainer\HookRunner.