Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
| SpecialLongPages | |
0.00% |
0 / 8 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
| sortDescending | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getGroupName | |
0.00% |
0 / 1 |
|
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\Page\LinkBatchFactory; |
| 10 | use MediaWiki\Title\NamespaceInfo; |
| 11 | use Wikimedia\Rdbms\IConnectionProvider; |
| 12 | |
| 13 | /** |
| 14 | * Implements Special:Longpages |
| 15 | * |
| 16 | * @ingroup SpecialPage |
| 17 | */ |
| 18 | class SpecialLongPages extends SpecialShortPages { |
| 19 | |
| 20 | public function __construct( |
| 21 | NamespaceInfo $namespaceInfo, |
| 22 | IConnectionProvider $dbProvider, |
| 23 | LinkBatchFactory $linkBatchFactory |
| 24 | ) { |
| 25 | parent::__construct( |
| 26 | $namespaceInfo, |
| 27 | $dbProvider, |
| 28 | $linkBatchFactory |
| 29 | ); |
| 30 | $this->mName = 'Longpages'; |
| 31 | } |
| 32 | |
| 33 | /** @inheritDoc */ |
| 34 | protected function sortDescending() { |
| 35 | return true; |
| 36 | } |
| 37 | |
| 38 | /** @inheritDoc */ |
| 39 | protected function getGroupName() { |
| 40 | return 'maintenance'; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | /** @deprecated class alias since 1.41 */ |
| 45 | class_alias( SpecialLongPages::class, 'SpecialLongPages' ); |