|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onBeforeParserFetchFileAndTitle ( $parser, $nt, &$options, &$descQuery) | |
| This hook is called before an image is rendered by Parser. | |
Stable to implement.
Definition at line 12 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. |
| string | &$descQuery | Query string to add to thumbnail URL |
Implemented in MediaWiki\HookContainer\HookRunner.