|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onLinkerMakeExternalLink (&$url, &$text, &$link, &$attribs, $linkType) | |
| This hook is called at the end of Linker::makeExternalLink() just before the return. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LinkerMakeExternalLink" to register handlers implementing this interface.
Definition at line 12 of file LinkerMakeExternalLinkHook.php.
| MediaWiki\Hook\LinkerMakeExternalLinkHook::onLinkerMakeExternalLink | ( | & | $url, |
| & | $text, | ||
| & | $link, | ||
| & | $attribs, | ||
| $linkType ) |
This hook is called at the end of Linker::makeExternalLink() just before the return.
| string | &$url | Link URL |
| string | &$text | Link text |
| string | &$link | New link HTML (if returning false) |
| string[] | &$attribs | Attributes to be applied |
| string | $linkType | External link type |
Implemented in MediaWiki\HookContainer\HookRunner.