Page MenuHomeWickedGov Phorge

OldChangesListRecentChangesLineHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

OldChangesListRecentChangesLineHook.php

<?php
namespace MediaWiki\Hook;
use OldChangesList;
use RecentChange;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "OldChangesListRecentChangesLine" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface OldChangesListRecentChangesLineHook {
/**
* Use this hook to customize a recent changes line.
*
* @since 1.35
*
* @param OldChangesList $changeslist
* @param string &$s HTML of the form `<li>...</li>` containing one RC entry
* @param RecentChange $rc
* @param string[] &$classes Array of CSS classes for the `<li>` element
* @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 omit the line from
* RecentChanges and Watchlist special pages
*/
public function onOldChangesListRecentChangesLine( $changeslist, &$s, $rc,
&$classes, &$attribs
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 17:10 (8 h, 16 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
17/fe/aea9f183f75184f6e1afc48dff9b
Default Alt Text
OldChangesListRecentChangesLineHook.php (1 KB)

Event Timeline