Manual:Hooks/ImagePageAfterImageLinks

From MediaWiki.org
Jump to: navigation, search
ImagePageAfterImageLinks
Available from version 1.16.0
Called after the image links section on an image page is built.

*Define function:
function fnMyHook( $imagePage, &$html ) { ... }

*Attach hook:
$wgHooks['ImagePageAfterImageLinks'][] = 'MyExtensionHooks::someExample';
Called from: ImagePage.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ImagePageAfterImageLinks extensions.


[edit] Details

  • $imagePage: ImagePage object ($this)
  • &$html: HTML for the hook to add
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox