Page MenuHomeWickedGov Phorge

OldChangesListRecentChangesLineHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

OldChangesListRecentChangesLineHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\RecentChanges\OldChangesList;
use MediaWiki\RecentChanges\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:03 (10 h, 6 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
91/0f/c4734e5c81abb22dc2455f3b2825
Default Alt Text
OldChangesListRecentChangesLineHook.php (1 KB)

Event Timeline