gplx/mediawiki/includes/specials/Hook/SpecialContributions__forma...

31 lines
865 B
PHP

<?php
namespace MediaWiki\Hook;
use MediaWiki\Context\IContextSource;
use stdClass;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
/**
* 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
* @ingroup Hooks
*/
interface SpecialContributions__formatRow__flagsHook {
/**
* This hook is called before rendering a Special:Contributions row.
*
* @since 1.35
*
* @param IContextSource $context
* @param stdClass $row Revision information from the database
* @param string[] &$flags HTML fragments describing flags for this row
* @return bool|void True or no return value to continue or false to abort
*/
public function onSpecialContributions__formatRow__flags( $context, $row,
&$flags
);
}