MediaWiki
master
SpecialUncategorizedTemplates.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Specials
;
22
23
use
MediaWiki\Cache\LinkBatchFactory
;
24
use
MediaWiki\Languages\LanguageConverterFactory
;
25
use
MediaWiki\Title\NamespaceInfo
;
26
use
Wikimedia\Rdbms\IConnectionProvider
;
27
34
class
SpecialUncategorizedTemplates
extends
SpecialUncategorizedPages
{
35
42
public
function
__construct
(
43
NamespaceInfo
$namespaceInfo,
44
IConnectionProvider
$dbProvider,
45
LinkBatchFactory
$linkBatchFactory,
46
LanguageConverterFactory
$languageConverterFactory
47
) {
48
parent::__construct(
49
$namespaceInfo,
50
$dbProvider,
51
$linkBatchFactory,
52
$languageConverterFactory
53
);
54
$this->mName =
'Uncategorizedtemplates'
;
55
$this->requestedNamespace =
NS_TEMPLATE
;
56
}
57
}
58
63
class_alias( SpecialUncategorizedTemplates::class,
'SpecialUncategorizedTemplates'
);
NS_TEMPLATE
const NS_TEMPLATE
Definition
Defines.php:75
MediaWiki\Cache\LinkBatchFactory
Definition
LinkBatchFactory.php:38
MediaWiki\Languages\LanguageConverterFactory
An interface for creating language converters.
Definition
LanguageConverterFactory.php:53
MediaWiki\Specials\SpecialUncategorizedPages
List of pages without any category.
Definition
SpecialUncategorizedPages.php:36
MediaWiki\Specials\SpecialUncategorizedTemplates
List of all uncategorised pages in the Template namespace.
Definition
SpecialUncategorizedTemplates.php:34
MediaWiki\Specials\SpecialUncategorizedTemplates\__construct
__construct(NamespaceInfo $namespaceInfo, IConnectionProvider $dbProvider, LinkBatchFactory $linkBatchFactory, LanguageConverterFactory $languageConverterFactory)
Definition
SpecialUncategorizedTemplates.php:42
MediaWiki\Title\NamespaceInfo
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Definition
NamespaceInfo.php:39
Wikimedia\Rdbms\IConnectionProvider
Provide primary and replica IDatabase connections.
Definition
IConnectionProvider.php:35
MediaWiki\Specials
includes
specials
SpecialUncategorizedTemplates.php
Generated on Thu Oct 3 2024 20:26:36 for MediaWiki by
1.10.0