MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onNewPagesLineEnding ( $page, &$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 | ( | $page, | |
& | $ret, | ||
$row, | |||
& | $classes, | ||
& | $attribs | ||
) |
This hook is called before a NewPages line is finished.
SpecialNewPages | $page | |
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.