MediaWiki REL1_39
MediaWiki\Hook\DeletedContributionsLineEndingHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\DeletedContributionsLineEndingHook:

Public Member Functions

 onDeletedContributionsLineEnding ( $page, &$ret, $row, &$classes, &$attribs)
 This hook is called before a DeletedContributions HTML line is finished.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file DeletedContributionsLineEndingHook.php.

Member Function Documentation

◆ onDeletedContributionsLineEnding()

MediaWiki\Hook\DeletedContributionsLineEndingHook::onDeletedContributionsLineEnding ( $page,
& $ret,
$row,
& $classes,
& $attribs )

This hook is called before a DeletedContributions HTML line is finished.

See also
ContributionsLineEndingHook
Since
1.35
Parameters
DeletedContribsPager$pagePager object for DeletedContribsPager
string&$retThe HTML line
stdClass$rowThe DB row for this line
string[]&$classesThe classes to add to the surrounding
string[]&$attribsAssociative array of other HTML attributes for the element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute).
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: