MediaWiki master
SpecialLongPages.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Specials;
22
26
33
39 public function __construct(
40 NamespaceInfo $namespaceInfo,
41 IConnectionProvider $dbProvider,
42 LinkBatchFactory $linkBatchFactory
43 ) {
44 parent::__construct(
45 $namespaceInfo,
46 $dbProvider,
47 $linkBatchFactory
48 );
49 $this->mName = 'Longpages';
50 }
51
52 protected function sortDescending() {
53 return true;
54 }
55
56 protected function getGroupName() {
57 return 'maintenance';
58 }
59}
60
62class_alias( SpecialLongPages::class, 'SpecialLongPages' );
Implements Special:Longpages.
sortDescending()
Override to sort by increasing values.
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
__construct(NamespaceInfo $namespaceInfo, IConnectionProvider $dbProvider, LinkBatchFactory $linkBatchFactory)
List of the shortest pages in the database.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Provide primary and replica IDatabase connections.