wiki.techinc.nl/includes/Hook/SelfLinkBeginHook.php
daniel e6e0ad2472 Replace "@stable for implementation" with "@stable to implement"
For compliance with the new version of the table interface policy
(T255803).

This patch was created by an automated search & replace operation
on the includes/ directory.

Bug: T257789
Change-Id: I17e5e92e24c708ffc846945a136347670a3a20c7
2020-07-13 11:05:49 +02:00

26 lines
712 B
PHP

<?php
namespace MediaWiki\Hook;
use Title;
/**
* @stable to implement
* @ingroup Hooks
*/
interface SelfLinkBeginHook {
/**
* This hook is called before a link to the current article is displayed to
* allow the display of the link to be customized.
*
* @since 1.35
*
* @param Title $nt
* @param string &$html HTML to display for the link
* @param string &$trail Optional text to display before $html
* @param string &$prefix Optional text to display after $html
* @param string &$ret Value to return if your hook returns false
* @return bool|void True or no return value to continue or false to abort
*/
public function onSelfLinkBegin( $nt, &$html, &$trail, &$prefix, &$ret );
}