Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4118718
ProgressStatsTableFactory.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
ProgressStatsTableFactory.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\Statistics
;
use
MediaWiki\Context\IContextSource
;
use
MediaWiki\Extension\Translate\MessageProcessing\MessageGroupMetadata
;
use
MediaWiki\Extension\Translate\Utilities\ConfigHelper
;
use
MediaWiki\Linker\LinkRenderer
;
/**
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2021.10
*/
class
ProgressStatsTableFactory
{
private
LinkRenderer
$linkRenderer
;
private
ConfigHelper
$configHelper
;
private
MessageGroupMetadata
$messageGroupMetadata
;
public
function
__construct
(
LinkRenderer
$linkRenderer
,
ConfigHelper
$configHelper
,
MessageGroupMetadata
$messageGroupMetadata
)
{
$this
->
linkRenderer
=
$linkRenderer
;
$this
->
configHelper
=
$configHelper
;
$this
->
messageGroupMetadata
=
$messageGroupMetadata
;
}
public
function
newFromContext
(
IContextSource
$contextSource
):
StatsTable
{
return
new
StatsTable
(
$this
->
linkRenderer
,
$this
->
configHelper
,
$contextSource
,
$contextSource
->
getLanguage
(),
$this
->
messageGroupMetadata
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 02:57 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
23/fb/038b102f3bf4e183a463389d56d4
Default Alt Text
ProgressStatsTableFactory.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment