MediaWiki REL1_35
|
Stable to implement. More...
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. | |
Stable to implement.
Definition at line 11 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.