Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7408292
ContributionsLineEndingHook.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
ContributionsLineEndingHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Pager\ContributionsPager
;
use
stdClass
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ContributionsLineEnding" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ContributionsLineEndingHook
{
/**
* This hook is called before a contributions HTML line is finished.
*
* @since 1.35
*
* @param ContributionsPager $pager The pager object hooked into
* @param string &$ret The HTML line
* @param stdClass $row The DB row for this line
* @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
onContributionsLineEnding
(
$pager
,
&
$ret
,
$row
,
&
$classes
,
&
$attribs
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 21:25 (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7c/4a/a440581d024eeb14c7f7e090f0b5
Default Alt Text
ContributionsLineEndingHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment