MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSelfLinkBegin ( $nt, &$html, &$trail, &$prefix, &$ret) | |
This hook is called before a link to the current article is displayed to allow the display of the link to be customized. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SelfLinkBegin" to register handlers implementing this interface.
Definition at line 14 of file SelfLinkBeginHook.php.
MediaWiki\Hook\SelfLinkBeginHook::onSelfLinkBegin | ( | $nt, | |
& | $html, | ||
& | $trail, | ||
& | $prefix, | ||
& | $ret ) |
This hook is called before a link to the current article is displayed to allow the display of the link to be customized.
Title | $nt | |
string | &$html | HTML to display for the link |
string | &$trail | Optional text to display before $html |
string | &$prefix | Optional text to display after $html |
string | &$ret | Value to return if your hook returns false |
Implemented in MediaWiki\HookContainer\HookRunner.