Page MenuHomeWickedGov Phorge

LinkerMakeExternalLinkHook.php
No OneTemporary

Size
802 B
Referenced Files
None
Subscribers
None

LinkerMakeExternalLinkHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "LinkerMakeExternalLink" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface LinkerMakeExternalLinkHook {
/**
* This hook is called at the end of Linker::makeExternalLink() just before the return.
*
* @since 1.35
*
* @param string &$url Link URL
* @param string &$text Link text
* @param string &$link New link HTML (if returning false)
* @param string[] &$attribs Attributes to be applied
* @param string $linkType External link type
* @return bool|void True or no return value to continue or false to abort
*/
public function onLinkerMakeExternalLink( &$url, &$text, &$link, &$attribs,
$linkType
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 12:24 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
56/f2/6425a646fba8823da9f8b0b4e256
Default Alt Text
LinkerMakeExternalLinkHook.php (802 B)

Event Timeline