Manual:Hooks/BeforeParserMakeImageLinkObj

From MediaWiki.org
Jump to: navigation, search
BeforeParserMakeImageLinkObj
Available from version 1.10.1
Removed in version 1.18.0
Allows an extension to select a different version of an image to link to?

*Define function:
function fnMyHook( $parser, $title, $skip, $time ) { ... }

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

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

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox