Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4070160
TimelineRowFormatterFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
TimelineRowFormatterFactory.php
View Options
<?php
namespace
MediaWiki\CheckUser\Investigate\Pagers
;
use
LogFormatterFactory
;
use
MediaWiki\CheckUser\Services\CheckUserLookupUtils
;
use
MediaWiki\CommentFormatter\CommentFormatter
;
use
MediaWiki\CommentStore\CommentStore
;
use
MediaWiki\Language\Language
;
use
MediaWiki\Linker\LinkRenderer
;
use
MediaWiki\SpecialPage\SpecialPageFactory
;
use
MediaWiki\Title\TitleFormatter
;
use
MediaWiki\User\User
;
use
MediaWiki\User\UserFactory
;
class
TimelineRowFormatterFactory
{
private
LinkRenderer
$linkRenderer
;
private
CheckUserLookupUtils
$checkUserLookupUtils
;
private
TitleFormatter
$titleFormatter
;
private
SpecialPageFactory
$specialPageFactory
;
private
CommentFormatter
$commentFormatter
;
private
UserFactory
$userFactory
;
private
CommentStore
$commentStore
;
private
LogFormatterFactory
$logFormatterFactory
;
/**
* @param LinkRenderer $linkRenderer
* @param CheckUserLookupUtils $checkUserLookupUtils
* @param TitleFormatter $titleFormatter
* @param SpecialPageFactory $specialPageFactory
* @param CommentFormatter $commentFormatter
* @param UserFactory $userFactory
* @param CommentStore $commentStore
* @param LogFormatterFactory $logFormatterFactory
*/
public
function
__construct
(
LinkRenderer
$linkRenderer
,
CheckUserLookupUtils
$checkUserLookupUtils
,
TitleFormatter
$titleFormatter
,
SpecialPageFactory
$specialPageFactory
,
CommentFormatter
$commentFormatter
,
UserFactory
$userFactory
,
CommentStore
$commentStore
,
LogFormatterFactory
$logFormatterFactory
)
{
$this
->
linkRenderer
=
$linkRenderer
;
$this
->
checkUserLookupUtils
=
$checkUserLookupUtils
;
$this
->
titleFormatter
=
$titleFormatter
;
$this
->
specialPageFactory
=
$specialPageFactory
;
$this
->
commentFormatter
=
$commentFormatter
;
$this
->
userFactory
=
$userFactory
;
$this
->
commentStore
=
$commentStore
;
$this
->
logFormatterFactory
=
$logFormatterFactory
;
}
/**
* Creates a row formatter
*
* @param User $user
* @param Language $language
* @return TimelineRowFormatter
*/
public
function
createRowFormatter
(
User
$user
,
Language
$language
):
TimelineRowFormatter
{
return
new
TimelineRowFormatter
(
$this
->
linkRenderer
,
$this
->
checkUserLookupUtils
,
$this
->
titleFormatter
,
$this
->
specialPageFactory
,
$this
->
commentFormatter
,
$this
->
userFactory
,
$this
->
commentStore
,
$this
->
logFormatterFactory
,
$user
,
$language
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 23:42 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7a/06/b7b8522368dbb419580ab4b11f58
Default Alt Text
TimelineRowFormatterFactory.php (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment