MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onPageHistoryLineEnding ( $historyAction, &$row, &$s, &$classes, &$attribs) | |
This hook is called right before the <li> is generated for a history line. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageHistoryLineEnding" to register handlers implementing this interface.
Definition at line 15 of file PageHistoryLineEndingHook.php.
MediaWiki\Hook\PageHistoryLineEndingHook::onPageHistoryLineEnding | ( | $historyAction, | |
& | $row, | ||
& | $s, | ||
& | $classes, | ||
& | $attribs ) |
This hook is called right before the <li>
is generated for a history line.
HistoryPager | $historyAction | |
stdClass | &$row | The revision row for this line |
string | &$s | The string representing this parsed line |
string[] | &$classes | Array containing the <li> element classes |
array | &$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.