MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onPageHistoryLineEnding ( $historyAction, &$row, &$s, &$classes, &$attribs) | |
This hook is called right before the <li> is generated for a history line. | |
Stable to implement.
Definition at line 12 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 |
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.