Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| SpecialUncategorizedTemplates | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * @license GPL-2.0-or-later |
| 4 | * @file |
| 5 | */ |
| 6 | |
| 7 | namespace MediaWiki\Specials; |
| 8 | |
| 9 | use MediaWiki\Languages\LanguageConverterFactory; |
| 10 | use MediaWiki\Page\LinkBatchFactory; |
| 11 | use MediaWiki\Title\NamespaceInfo; |
| 12 | use Wikimedia\Rdbms\IConnectionProvider; |
| 13 | |
| 14 | /** |
| 15 | * List of all uncategorised pages in the Template namespace. |
| 16 | * |
| 17 | * @ingroup SpecialPage |
| 18 | * @author Rob Church <robchur@gmail.com> |
| 19 | */ |
| 20 | class SpecialUncategorizedTemplates extends SpecialUncategorizedPages { |
| 21 | |
| 22 | public function __construct( |
| 23 | NamespaceInfo $namespaceInfo, |
| 24 | IConnectionProvider $dbProvider, |
| 25 | LinkBatchFactory $linkBatchFactory, |
| 26 | LanguageConverterFactory $languageConverterFactory |
| 27 | ) { |
| 28 | parent::__construct( |
| 29 | $namespaceInfo, |
| 30 | $dbProvider, |
| 31 | $linkBatchFactory, |
| 32 | $languageConverterFactory |
| 33 | ); |
| 34 | $this->mName = 'Uncategorizedtemplates'; |
| 35 | $this->requestedNamespace = NS_TEMPLATE; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Retain the old class name for backwards compatibility. |
| 41 | * @deprecated since 1.41 |
| 42 | */ |
| 43 | class_alias( SpecialUncategorizedTemplates::class, 'SpecialUncategorizedTemplates' ); |