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
31 lines
937 B
PHP
31 lines
937 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Hook;
|
|
|
|
use OldChangesList;
|
|
use RecentChange;
|
|
|
|
/**
|
|
* @stable to implement
|
|
* @ingroup Hooks
|
|
*/
|
|
interface OldChangesListRecentChangesLineHook {
|
|
/**
|
|
* Use this hook to customize a recent changes line.
|
|
*
|
|
* @since 1.35
|
|
*
|
|
* @param OldChangesList $changeslist
|
|
* @param string &$s HTML of the form `<li>...</li>` containing one RC entry
|
|
* @param RecentChange $rc
|
|
* @param string[] &$classes Array of CSS classes for the `<li>` element
|
|
* @param string[] &$attribs Associative array of other HTML attributes for the `<li>` element.
|
|
* Currently only data attributes reserved to MediaWiki are allowed
|
|
* (see Sanitizer::isReservedDataAttribute).
|
|
* @return bool|void True or no return value to continue, or false to omit the line from
|
|
* RecentChanges and Watchlist special pages
|
|
*/
|
|
public function onOldChangesListRecentChangesLine( $changeslist, &$s, $rc,
|
|
&$classes, &$attribs
|
|
);
|
|
}
|