Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5973716
CommentParserFactory.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
CommentParserFactory.php
View Options
<?php
namespace
MediaWiki\CommentFormatter
;
use
MediaWiki\Cache\LinkBatchFactory
;
use
MediaWiki\Cache\LinkCache
;
use
MediaWiki\Context\RequestContext
;
use
MediaWiki\FileRepo\RepoGroup
;
use
MediaWiki\HookContainer\HookContainer
;
use
MediaWiki\Language\Language
;
use
MediaWiki\Linker\LinkRenderer
;
use
MediaWiki\Title\NamespaceInfo
;
use
MediaWiki\Title\TitleParser
;
/**
* @internal
*/
class
CommentParserFactory
{
public
function
__construct
(
private
readonly
LinkRenderer
$linkRenderer
,
private
readonly
LinkBatchFactory
$linkBatchFactory
,
private
readonly
LinkCache
$linkCache
,
private
readonly
RepoGroup
$repoGroup
,
private
readonly
Language
$contLang
,
private
readonly
TitleParser
$titleParser
,
private
readonly
NamespaceInfo
$namespaceInfo
,
private
readonly
HookContainer
$hookContainer
)
{
}
public
function
create
():
CommentParser
{
return
new
CommentParser
(
$this
->
linkRenderer
,
$this
->
linkBatchFactory
,
$this
->
linkCache
,
$this
->
repoGroup
,
RequestContext
::
getMain
()->
getLanguage
(),
$this
->
contLang
,
$this
->
titleParser
,
$this
->
namespaceInfo
,
$this
->
hookContainer
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 16:49 (17 h, 18 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ff/6a/f60ee35f1b08a4dc8214dddab980
Default Alt Text
CommentParserFactory.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment