Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4048118
NewPagesLineEndingHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
NewPagesLineEndingHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Pager\NewPagesPager
;
use
stdClass
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "NewPagesLineEnding" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
NewPagesLineEndingHook
{
/**
* This hook is called before a NewPages line is finished.
*
* @since 1.35
*
* @param NewPagesPager $pager
* @param string &$ret the HTML line
* @param stdClass $row The database row for this page (the recentchanges record and a few extras
* - see NewPagesPager::getQueryInfo)
* @param string[] &$classes The classes to add to the surrounding <li>
* @param string[] &$attribs Associative array of other HTML attributes for the <li> element.
* Currently only data attributes reserved to MediaWiki are allowed
* (see Sanitizer::isReservedDataAttribute).
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onNewPagesLineEnding
(
$pager
,
&
$ret
,
$row
,
&
$classes
,
&
$attribs
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 15 2026, 13:34 (12 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
24/80/ce0b25f4df105459c4622a63f36c
Default Alt Text
NewPagesLineEndingHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment