Manual:Hooks/BeforeParserMakeImageLinkObj
Appearance
This feature was removed completely in version 1.18.0. |
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.