MediaWiki REL1_37
MediaWiki\Page\Hook\ImagePageAfterImageLinksHook Interface Reference

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

Inheritance diagram for MediaWiki\Page\Hook\ImagePageAfterImageLinksHook:

Public Member Functions

 onImagePageAfterImageLinks ( $imagePage, &$html)
 This hook is called after the image links section on an image page is built.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file ImagePageAfterImageLinksHook.php.

Member Function Documentation

◆ onImagePageAfterImageLinks()

MediaWiki\Page\Hook\ImagePageAfterImageLinksHook::onImagePageAfterImageLinks (   $imagePage,
$html 
)

This hook is called after the image links section on an image page is built.

Since
1.35
Parameters
ImagePage$imagePageImagePage object ($this)
string&$htmlHTML for the hook to add
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: