Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426006
LinkerMakeExternalLinkHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
802 B
Referenced Files
None
Subscribers
None
LinkerMakeExternalLinkHook.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 12:24 (1 d, 1 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
56/f2/6425a646fba8823da9f8b0b4e256
Default Alt Text
LinkerMakeExternalLinkHook.php (802 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment