MediaWiki REL1_41
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onNewPagesLineEnding ( $pager, &$ret, $row, &$classes, &$attribs) | |
This hook is called before a NewPages line is finished. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "NewPagesLineEnding" to register handlers implementing this interface.
Definition at line 15 of file NewPagesLineEndingHook.php.
MediaWiki\Hook\NewPagesLineEndingHook::onNewPagesLineEnding | ( | $pager, | |
& | $ret, | ||
$row, | |||
& | $classes, | ||
& | $attribs ) |
This hook is called before a NewPages line is finished.
NewPagesPager | $pager | |
string | &$ret | the HTML line |
stdClass | $row | The database row for this page (the recentchanges record and a few extras
|
string[] | &$classes | The classes to add to the surrounding |
string[] | &$attribs | Associative array of other HTML attributes for the element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute). |
Implemented in MediaWiki\HookContainer\HookRunner.