MediaWiki  master
LinkerMakeExternalLinkHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
25  public function onLinkerMakeExternalLink( &$url, &$text, &$link, &$attribs,
26  $linkType
27  );
28 }
This is a hook handler interface, see docs/Hooks.md.
onLinkerMakeExternalLink(&$url, &$text, &$link, &$attribs, $linkType)
This hook is called at the end of Linker::makeExternalLink() just before the return.