Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5953031
HistoryFilter.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
833 B
Referenced Files
None
Subscribers
None
HistoryFilter.php
View Options
<?php
namespace
MediaWiki\Extension\AbuseFilter\Filter
;
/**
* Variant of ExistingFilters for past versions of filters
*/
class
HistoryFilter
extends
ExistingFilter
{
/** @var int */
private
$historyID
;
/**
* @param Specs $specs
* @param Flags $flags
* @param callable|array[] $actions Array with params or callable that will return them
* @phan-param array[]|callable():array[] $actions
* @param LastEditInfo $lastEditInfo
* @param int $id
* @param int $historyID
*/
public
function
__construct
(
Specs
$specs
,
Flags
$flags
,
$actions
,
LastEditInfo
$lastEditInfo
,
int
$id
,
int
$historyID
)
{
parent
::
__construct
(
$specs
,
$flags
,
$actions
,
$lastEditInfo
,
$id
);
$this
->
historyID
=
$historyID
;
}
/**
* @return int
*/
public
function
getHistoryID
():
int
{
return
$this
->
historyID
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 3 2026, 01:52 (4 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8f/a7/edb444bf0d64b1a2c94af1b3b3ba
Default Alt Text
HistoryFilter.php (833 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment