MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onLinkerMakeExternalImage (&$url, &$alt, &$img) | |
This hook is called at the end of Linker::makeExternalImage() just before the return. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LinkerMakeExternalImage" to register handlers implementing this interface.
Definition at line 12 of file LinkerMakeExternalImageHook.php.
MediaWiki\Hook\LinkerMakeExternalImageHook::onLinkerMakeExternalImage | ( | & | $url, |
& | $alt, | ||
& | $img ) |
This hook is called at the end of Linker::makeExternalImage() just before the return.
string | &$url | Image URL |
string | &$alt | Image's alt text |
string | &$img | New image HTML (if returning false) |
Implemented in MediaWiki\HookContainer\HookRunner.