MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onOldChangesListRecentChangesLine ( $changeslist, &$s, $rc, &$classes, &$attribs) | |
Use this hook to customize a recent changes line. | |
Stable to implement.
Definition at line 12 of file OldChangesListRecentChangesLineHook.php.
MediaWiki\Hook\OldChangesListRecentChangesLineHook::onOldChangesListRecentChangesLine | ( | $changeslist, | |
& | $s, | ||
$rc, | |||
& | $classes, | ||
& | $attribs | ||
) |
Use this hook to customize a recent changes line.
OldChangesList | $changeslist | |
string | &$s | HTML of the form <li>...</li> containing one RC entry |
RecentChange | $rc | |
string[] | &$classes | Array of CSS classes for the <li> element |
string[] | &$attribs | Associative array of other HTML attributes for the <li> element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute). |
Implemented in MediaWiki\HookContainer\HookRunner.