MediaWiki  master
MediaWiki\Hook\SpecialContributions__formatRow__flagsHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SpecialContributions__formatRow__flagsHook:

Public Member Functions

 onSpecialContributions__formatRow__flags ( $context, $row, &$flags)
 This hook is called before rendering a Special:Contributions row. More...
 

Detailed Description

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

Use the hook name "SpecialContributions::formatRow::flags" to register handlers implementing this interface.

Stable to implement

Definition at line 16 of file SpecialContributions__formatRow__flagsHook.php.

Member Function Documentation

◆ onSpecialContributions__formatRow__flags()

MediaWiki\Hook\SpecialContributions__formatRow__flagsHook::onSpecialContributions__formatRow__flags (   $context,
  $row,
$flags 
)

This hook is called before rendering a Special:Contributions row.

Since
1.35
Parameters
IContextSource$context
stdClass$rowRevision information from the database
string[]&$flagsHTML fragments describing flags for this row
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: