MediaWiki master
MediaWiki\Hook\ChangesListInsertArticleLinkHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onChangesListInsertArticleLink ( $changesList, &$articlelink, &$s, $rc, $unpatrolled, $watched)
 Use this hook to override or augment link to article in RC list.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ChangesListInsertArticleLink" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file ChangesListInsertArticleLinkHook.php.

Member Function Documentation

◆ onChangesListInsertArticleLink()

MediaWiki\Hook\ChangesListInsertArticleLinkHook::onChangesListInsertArticleLink ( $changesList,
& $articlelink,
& $s,
$rc,
$unpatrolled,
$watched )

Use this hook to override or augment link to article in RC list.

Since
1.35
Parameters
ChangesList$changesList
string&$articlelinkHTML of link to article (already filled-in)
string&$sHTML of row that is being constructed
RecentChange$rc
bool$unpatrolledWhether or not we are showing unpatrolled changes
bool$watchedWhether or not the change is watched by the user
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: