Manual:Hooks/NewPagesLineEnding

Details

 * $page: the SpecialNewPages object
 * &$ret: the HTML line
 * $row: the database row for this page (the recentchanges record and a few extras - see NewPagesPager::getQueryInfo)
 * &$classes: the classes to add to the surrounding
 * &$attribs: associative array of other HTML attributes for the element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute).