Manual:Hooks/BeforeParserMakeImageLinkObj

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:
public static function onBeforeParserMakeImageLinkObj( Parser $parser, $title, $skip, $time ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"BeforeParserMakeImageLinkObj": "MediaWiki\\Extension\\MyExtension\\Hooks::onBeforeParserMakeImageLinkObj"
	}
}
Called from: File(s): parser/Parser.php
Interface: BeforeParserMakeImageLinkObjHook.php

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