MediaWiki  master
SpecialLongPages.php
Go to the documentation of this file.
1 <?php
24 namespace MediaWiki\Specials;
25 
29 
34 
40  public function __construct(
41  NamespaceInfo $namespaceInfo,
42  IConnectionProvider $dbProvider,
43  LinkBatchFactory $linkBatchFactory
44  ) {
45  parent::__construct(
46  $namespaceInfo,
47  $dbProvider,
48  $linkBatchFactory
49  );
50  $this->mName = 'Longpages';
51  }
52 
53  protected function sortDescending() {
54  return true;
55  }
56 
57  protected function getGroupName() {
58  return 'maintenance';
59  }
60 }
61 
65 class_alias( SpecialLongPages::class, 'SpecialLongPages' );
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)
SpecialShortpages extends QueryPage.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
Provide primary and replica IDatabase connections.