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

Public Member Functions | |
| onOldChangesListRecentChangesLine ( $changeslist, &$s, $rc, &$classes, &$attribs) | |
| Use this hook to customize a recent changes line. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "OldChangesListRecentChangesLine" to register handlers implementing this interface.
Definition at line 15 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.