MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onAfterParserFetchFileAndTitle ( $parser, $ig, &$html) | |
This hook is called after an image gallery is formed by Parser, just before adding its HTML to parser output. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AfterParserFetchFileAndTitle" to register handlers implementing this interface.
Definition at line 15 of file AfterParserFetchFileAndTitleHook.php.
MediaWiki\Hook\AfterParserFetchFileAndTitleHook::onAfterParserFetchFileAndTitle | ( | $parser, | |
$ig, | |||
& | $html ) |
This hook is called after an image gallery is formed by Parser, just before adding its HTML to parser output.
Parser | $parser | Parser that called the hook |
ImageGalleryBase | $ig | Gallery, an object of one of the gallery classes (inheriting from ImageGalleryBase) |
string | &$html | HTML generated by the gallery |
Implemented in MediaWiki\HookContainer\HookRunner.