MediaWiki REL1_39
MediaWiki\Hook\BeforeParserrenderImageGalleryHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\BeforeParserrenderImageGalleryHook:

Public Member Functions

 onBeforeParserrenderImageGallery ( $parser, $ig)
 This hook is called before an image gallery is rendered by Parser.
 

Detailed Description

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

Use the hook name "BeforeParserrenderImageGallery" to register handlers implementing this interface.

Deprecated
since 1.35

Definition at line 15 of file BeforeParserrenderImageGalleryHook.php.

Member Function Documentation

◆ onBeforeParserrenderImageGallery()

MediaWiki\Hook\BeforeParserrenderImageGalleryHook::onBeforeParserrenderImageGallery ( $parser,
$ig )

This hook is called before an image gallery is rendered by Parser.

Since
1.35
Parameters
Parser$parser
ImageGalleryBase$igImageGallery object
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: