MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onLinkerMakeMediaLinkFile ( $title, $file, &$html, &$attribs, &$ret) | |
This hook is called at the end of Linker::makeMediaLinkFile() just before the return. | |
Stable to implement.
Definition at line 12 of file LinkerMakeMediaLinkFileHook.php.
MediaWiki\Hook\LinkerMakeMediaLinkFileHook::onLinkerMakeMediaLinkFile | ( | $title, | |
$file, | |||
& | $html, | ||
& | $attribs, | ||
& | $ret | ||
) |
This hook is called at the end of Linker::makeMediaLinkFile() just before the return.
Title | $title | Title that the link is pointing to |
File | bool | $file | File object or false if broken link |
string | &$html | Link text |
array | &$attribs | Attributes to be applied |
string | &$ret | Value to return if your hook returns false |
Implemented in MediaWiki\HookContainer\HookRunner.