Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6037228
LogEventsListShowLogExtractHook.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
LogEventsListShowLogExtractHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "LogEventsListShowLogExtract" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
LogEventsListShowLogExtractHook
{
/**
* This hook is called before the string is added to OutputPage.
*
* @since 1.35
*
* @param string &$s HTML to show for the log extract
* @param string|array $types Log types to show
* @param string|null $page Page title to show log entries for
* @param string $user User who made the log entries
* @param array $param Associative array with the following additional options:
* - `lim` (integer): Limit of items to show, default is 50
* - `conds` (array): Extra conditions for the query (e.g. "log_action != 'revision'")
* - `showIfEmpty` (boolean): Set to false if you don't want any output in case the
* loglist is empty if set to true (default), "No matching items in log" is
* displayed if loglist is empty
* - `msgKey` (array): If you want a nice box with a message, set this to the key of
* the message. First element is the message key, additional optional elements
* are parameters for the key that are processed with
* wfMessage()->params()->parseAsBlock()
* - `offset`: Set to overwrite offset parameter in $wgRequest set to '' to unset
* offset
* - `wrap` (string): Wrap the message in html (usually something like
* "<div ...>$1</div>")
* - `flags` (integer): Display flags (NO_ACTION_LINK,NO_EXTRA_USER_LINKS)
* @return bool|void True or no return value to continue, or false to prevent the
* string from being added to the OutputPage
*/
public
function
onLogEventsListShowLogExtract
(
&
$s
,
$types
,
$page
,
$user
,
$param
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 19:40 (6 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
12/d4/eff46f759e4b63253e78969aad14
Default Alt Text
LogEventsListShowLogExtractHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment