|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onLinkerMakeExternalLink (&$url, &$text, &$link, &$attribs, $linkType) | |
| This hook is called at the end of Linker::makeExternalLink() just before the return. | |
Stable to implement.
Definition at line 9 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.